mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
git-svn-id: file:///svn/phpbb/trunk@6897 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
360dff8a47
commit
de07a9e0ad
1 changed files with 2 additions and 2 deletions
|
@ -523,10 +523,10 @@ class bbcode_firstpass extends bbcode
|
||||||
$out .= array_pop($list_end_tags) . ']';
|
$out .= array_pop($list_end_tags) . ']';
|
||||||
$tok = '[';
|
$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
|
// 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);
|
array_push($list_end_tags, '/list:u:' . $this->bbcode_uid);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue