summaryrefslogtreecommitdiff
path: root/includes/pages/user_news.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages/user_news.php')
-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 0da49c8e..bc07eb6c 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 = str_replace("\n\n", '<br><br>', $text);
+ $text = preg_replace("@\n[\w]*\n@m", '<br><br>', $text);
return $text;
}