mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-21 01:42:30 +01:00
fix bbcode in bbcode problem
git-svn-id: file:///svn/phpbb/trunk@5227 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d7b12970d7
commit
b4fb715531
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user