From 2b52d24c59d9f35f728877acd34963ba817bd457 Mon Sep 17 00:00:00 2001 From: msquare Date: Wed, 20 Dec 2017 23:40:46 +0100 Subject: [PATCH] solve problem with autobreaks in news text when building html tables --- includes/pages/user_news.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", '

', $text); + $text = preg_replace("/\n\n/m", '

', $text); return $text; }