diff options
Diffstat (limited to 'includes/pages/user_news.php')
-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 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; } |