diff options
author | msquare <msquare@notrademark.de> | 2017-12-20 23:42:37 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-12-20 23:42:37 +0100 |
commit | 34da670b6fc903e953165ced2285094b25907e4a (patch) | |
tree | e6689445426c50604d6f024916c5fb2d4476105d | |
parent | 2b52d24c59d9f35f728877acd34963ba817bd457 (diff) |
solve problem with autobreaks in news text when building html tables
-rw-r--r-- | includes/pages/user_news.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_news.php b/includes/pages/user_news.php index 61ba970d..28083a08 100644 --- a/includes/pages/user_news.php +++ b/includes/pages/user_news.php @@ -79,7 +79,7 @@ function user_meetings() */ function news_text($news) { $text = ReplaceSmilies($news['Text']); - $text = preg_replace("/\n\n/m", '<br><br>', $text); + $text = preg_replace("/\\n\\n/m", '<br><br>', $text); return $text; } |