mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
Parse BBCode lists of type square, circle and disc. #35295
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9007 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -604,7 +604,7 @@ 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]))
|
||||
|
Reference in New Issue
Block a user