diff --git a/include/class.thread.php b/include/class.thread.php
index 7069808d354bcbc2111a940079c014edd7c1681a..f8455faf51dd6a402f9ab2e1442f13d0f7ec6088 100644
--- a/include/class.thread.php
+++ b/include/class.thread.php
@@ -2542,7 +2542,7 @@ class TextThreadEntryBody extends ThreadEntryBody {
     }
 
     function getClean() {
-        return  Format::htmlchars(Format::stripEmptyLines(parent::getClean()), true);
+        return Format::htmlchars(Format::html_balance(Format::stripEmptyLines(parent::getClean())));
     }
 
     function prepend($what) {