mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-31 11:39:37 +02:00
changed back to nl2br (nl2br in PHP >= 4.0.5 is XHTML compatible)
git-svn-id: file:///svn/phpbb/trunk@3584 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
beb17ef6f2
commit
87cce70d10
@ -207,7 +207,7 @@ class parse_message
|
||||
$message = str_replace('\"', '"', substr(preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "preg_replace(\$censors['match'], \$censors['replace'], '\\0')", '>' . $message . '<'), 1, -1));
|
||||
}
|
||||
|
||||
$message = str_replace("\n", "<br />", $message);
|
||||
$message = nl2br($message);
|
||||
|
||||
/* Signature
|
||||
$user_sig = ($sig && $signature != '' && $config['allow_sig']) ? $row['user_sig'] : '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user