aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2008-10-13 02:17:24 +0000
committerChris Smith <toonarmy@phpbb.com>2008-10-13 02:17:24 +0000
commitf4f5d9a471b5f5a74895b5e7bf6037235589abfc (patch)
tree02ebbbbff1a1e3703f572057df3846df3446defd /phpBB/includes
parent9cd0a6ad4d67393675ba3fc25694c7f582f1af9f (diff)
downloadforums-f4f5d9a471b5f5a74895b5e7bf6037235589abfc.tar
forums-f4f5d9a471b5f5a74895b5e7bf6037235589abfc.tar.gz
forums-f4f5d9a471b5f5a74895b5e7bf6037235589abfc.tar.bz2
forums-f4f5d9a471b5f5a74895b5e7bf6037235589abfc.tar.xz
forums-f4f5d9a471b5f5a74895b5e7bf6037235589abfc.zip
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
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/message_parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index c4e39ebab6..0f0a821c84 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -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]))