diff --git a/include/class.thread.php b/include/class.thread.php
index 082e2536af186a60c5badb54117b1cb9365ea7b5..bcc3deb6a6d759b36b0d031eaa27671c9193576a 100644
--- a/include/class.thread.php
+++ b/include/class.thread.php
@@ -2191,7 +2191,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) {