diff --git a/presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionUI.inc b/presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionUI.inc index 0a1e5f3..d135d3b 100644 --- a/presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionUI.inc @@ -149,8 +149,7 @@ function getCommentBody($oComment, $iDocumentID, $oUser) { $sToRender .= renderHeading($sHeading); $sToRender .= renderDocumentPath($iDocumentID); - $sBody = urldecode(str_replace("%0D%0A","
",str_replace("+", " ",$oComment->getBody()))); - $aBody = explode("
",$sBody); + $aBody = explode("\n",$oComment->getBody()); $sBody = ""; $numChars = 160; // number of chars in a line