summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-20 23:46:04 +0100
committermsquare <msquare@notrademark.de>2017-12-20 23:46:04 +0100
commit81b4e9d2bc00e9e24564a0c0bd0bcfa159b84e83 (patch)
treeef0098071b35d123b7d53d0698073ba4be40bb8b /includes
parent34da670b6fc903e953165ced2285094b25907e4a (diff)
solve problem with autobreaks in news text when building html tables
Diffstat (limited to 'includes')
-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 28083a08..ba5ed53e 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("/\r\n\r\n/m", '<br><br>', $text);
return $text;
}