summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-20 23:42:37 +0100
committermsquare <msquare@notrademark.de>2017-12-20 23:42:37 +0100
commit34da670b6fc903e953165ced2285094b25907e4a (patch)
treee6689445426c50604d6f024916c5fb2d4476105d
parent2b52d24c59d9f35f728877acd34963ba817bd457 (diff)
solve problem with autobreaks in news text when building html tables
-rw-r--r--includes/pages/user_news.php2
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;
}