mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
closes #4811
This commit is contained in:
@@ -375,7 +375,8 @@ $(document).ready(function() {
|
||||
app.load();
|
||||
|
||||
$('[data-template]').each(function() {
|
||||
templates.cache[$(this).attr('data-template')] = $(this).html();
|
||||
templates.cache[$(this).attr('data-template')] = $('<div/>').html($(this).html()).text();
|
||||
$(this).parent().remove();
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user