mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
fix bbcode in bbcode problem
git-svn-id: file:///svn/phpbb/trunk@5227 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -141,7 +141,7 @@ class bbcode_firstpass extends bbcode
|
||||
|
||||
function check_bbcode($bbcode, &$in)
|
||||
{
|
||||
$in = trim($in);
|
||||
$in = str_replace("\r\n", "\n", str_replace('\"', '"', trim($in)));
|
||||
|
||||
if (!$in)
|
||||
{
|
||||
@@ -987,7 +987,6 @@ class parse_message extends bbcode_firstpass
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
$this->message = trim(preg_replace($match, $replace, $this->message));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user