solve problem with autobreaks in news text when building html tables

This commit is contained in:
msquare 2017-12-20 23:46:04 +01:00
parent 34da670b6f
commit 81b4e9d2bc
1 changed files with 1 additions and 1 deletions

View File

@ -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("/\r\n\r\n/m", '<br><br>', $text);
return $text; return $text;
} }