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", "
", $message);
+ $message = str_replace("\n", "\n
", $message);
//
// Editing information