mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
been a while :( ... merge in r8997, r8998, r8999, r9000, r9001, r9002, r9003, r9004, r9005, r9007, r9008, r9009, r9010, r9011, r9012, r9013, r9014, r9015, r9022, r9023, r9029, r9030, r9034, r9048, r9049, r9054, r9056
git-svn-id: file:///svn/phpbb/trunk@9064 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -604,10 +604,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