solve problem with autobreaks in news text when building html tables

main
msquare 7 years ago
parent 2b52d24c59
commit 34da670b6f

@ -79,7 +79,7 @@ function user_meetings()
*/ */
function news_text($news) { function news_text($news) {
$text = ReplaceSmilies($news['Text']); $text = ReplaceSmilies($news['Text']);
$text = preg_replace("/\n\n/m", '<br><br>', $text); $text = preg_replace("/\\n\\n/m", '<br><br>', $text);
return $text; return $text;
} }

Loading…
Cancel
Save