diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2016-07-08 07:46:53 +0200 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2016-07-08 07:49:10 +0200 |
commit | 24da2db987c895c474b1d0a59344a7094133f278 (patch) | |
tree | 2ba1ee4c8385ce63f99cac3a2d3acdcc45c22304 /phpBB/phpbb/textformatter | |
parent | 45ba2e9770f2f012423bfc2a831771f48357e182 (diff) | |
download | forums-24da2db987c895c474b1d0a59344a7094133f278.tar forums-24da2db987c895c474b1d0a59344a7094133f278.tar.gz forums-24da2db987c895c474b1d0a59344a7094133f278.tar.bz2 forums-24da2db987c895c474b1d0a59344a7094133f278.tar.xz forums-24da2db987c895c474b1d0a59344a7094133f278.zip |
[ticket/14706] Updated [list] BBCode to automatically create a list item
Fixes issues with missing list items. Produces valid HTML.
PHPBB3-14706
Diffstat (limited to 'phpBB/phpbb/textformatter')
-rw-r--r-- | phpBB/phpbb/textformatter/s9e/factory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/factory.php b/phpBB/phpbb/textformatter/s9e/factory.php index 8c273c342e..8d1c0fabfe 100644 --- a/phpBB/phpbb/textformatter/s9e/factory.php +++ b/phpBB/phpbb/textformatter/s9e/factory.php @@ -82,7 +82,7 @@ class factory implements \phpbb\textformatter\cache_interface 'flash' => '[FLASH={NUMBER1},{NUMBER2} width={NUMBER1;postFilter=#flashwidth} height={NUMBER2;postFilter=#flashheight} url={URL;useContent} /]', 'i' => '[I]{TEXT}[/I]', 'img' => '[IMG src={IMAGEURL;useContent}]', - 'list' => '[LIST type={HASHMAP=1:decimal,a:lower-alpha,A:upper-alpha,i:lower-roman,I:upper-roman;optional;postFilter=#simpletext}]{TEXT}[/LIST]', + 'list' => '[LIST type={HASHMAP=1:decimal,a:lower-alpha,A:upper-alpha,i:lower-roman,I:upper-roman;optional;postFilter=#simpletext} #createChild=LI]{TEXT}[/LIST]', 'li' => '[* $tagName=LI]{TEXT}[/*]', 'quote' => "[QUOTE |