aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2001-12-12 19:54:47 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2001-12-12 19:54:47 +0000
commit85251fde47331e210abccf6bda3793bba2debbd4 (patch)
treead2139ff126ba30981c0d03ddcd55549a6afc7c2
parent7548acf60ec76580c755ea7fb0dcc7140ca9f7cf (diff)
downloadforums-85251fde47331e210abccf6bda3793bba2debbd4.tar
forums-85251fde47331e210abccf6bda3793bba2debbd4.tar.gz
forums-85251fde47331e210abccf6bda3793bba2debbd4.tar.bz2
forums-85251fde47331e210abccf6bda3793bba2debbd4.tar.xz
forums-85251fde47331e210abccf6bda3793bba2debbd4.zip
Small change to make HTML source of viewtopic more readable
git-svn-id: file:///svn/phpbb/trunk@1557 89ea8834-ac86-4346-8a33-228a782c2dd0
-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