1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 15:45:34 +02:00

Small change to make HTML source of viewtopic more readable

git-svn-id: file:///svn/phpbb/trunk@1557 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2001-12-12 19:54:47 +00:00
parent 7548acf60e
commit 85251fde47

View File

@ -1010,7 +1010,7 @@ for($i = 0; $i < $total_posts; $i++)
// Replace newlines (we use this rather than nl2br because
// till recently it wasn't XHTML compliant)
//
$message = str_replace("\n", "<br />", $message);
$message = str_replace("\n", "\n<br />", $message);
//
// Editing information