aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index dabff8a987..09b10f08f8 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -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