mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
git-svn-id: file:///svn/phpbb/trunk@6897 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -523,10 +523,10 @@ class bbcode_firstpass extends bbcode
|
||||
$out .= array_pop($list_end_tags) . ']';
|
||||
$tok = '[';
|
||||
}
|
||||
else if (preg_match('#list(=[0-9a-z])?#i', $buffer, $m))
|
||||
else if (preg_match('#^list(=[0-9a-z])?$#i', $buffer, $m))
|
||||
{
|
||||
// sub-list, add a closing tag
|
||||
if (empty($m[1]) || preg_match('/^(disc|square|circle)$/i', $m[1]))
|
||||
if (empty($m[1]) || preg_match('/^(?:disc|square|circle)$/i', $m[1]))
|
||||
{
|
||||
array_push($list_end_tags, '/list:u:' . $this->bbcode_uid);
|
||||
}
|
||||
|
Reference in New Issue
Block a user