diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js index e700800293..b31405272a 100644 --- a/public/src/forum/topic.js +++ b/public/src/forum/topic.js @@ -897,9 +897,9 @@ define(function() { var insertAfter = findInsertionPoint(); var html = templates.prepare(templates['topic'].blocks['posts']).parse(data); - var regexp = new RegExp("[\\s\\S]*", 'g'); + var regexp = new RegExp("([\\s\\S]*?)", 'g'); html = html.replace(regexp, ''); - + translator.translate(html, function(translatedHTML) { var translated = $(translatedHTML);