mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
git-svn-id: file:///svn/phpbb/trunk@7745 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -690,7 +690,7 @@ class bbcode_firstpass extends bbcode
|
||||
|
||||
if ($tok == ']')
|
||||
{
|
||||
if ($buffer == '/quote' && sizeof($close_tags))
|
||||
if ($buffer == '/quote' && sizeof($close_tags) && substr($out, -1, 1) == '[')
|
||||
{
|
||||
// we have found a closing tag
|
||||
$out .= array_pop($close_tags) . ']';
|
||||
|
Reference in New Issue
Block a user