diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php
index aefaf5ed1..c72793f17 100644
--- a/e107_handlers/e_parse_class.php
+++ b/e107_handlers/e_parse_class.php
@@ -2463,6 +2463,7 @@ class e_parse extends e_parser
if($this->isHtml($text) === true) // strip any html.
{
$text = $this->toHTML($text,true);
+ $text = str_replace("\n","",$text); // clean-out line-breaks.
$text = str_ireplace( array("
","
","
"), "\n", $text);
$text = strip_tags($text);
}
diff --git a/e107_tests/tests/unit/e_parseTest.php b/e107_tests/tests/unit/e_parseTest.php
index b32e8248b..1a399022f 100644
--- a/e107_tests/tests/unit/e_parseTest.php
+++ b/e107_tests/tests/unit/e_parseTest.php
@@ -498,6 +498,7 @@ TMP;
0 => array('html'=>"