mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue