solve problem with autobreaks in news text when building html tables
This commit is contained in:
parent
a0f70d9819
commit
9969208be2
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue