summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-20 23:40:46 +0100
committermsquare <msquare@notrademark.de>2017-12-20 23:40:46 +0100
commit2b52d24c59d9f35f728877acd34963ba817bd457 (patch)
tree5ff67157b4274cc0c661c065d5562ee051a8b98a /includes
parent9969208be2b5c38789a8a38e84e84e893b6c0e7f (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 bc07eb6c..61ba970d 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[\w]*\n@m", '<br><br>', $text);
+ $text = preg_replace("/\n\n/m", '<br><br>', $text);
return $text;
}