1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

[ticket/14706] Updated [list] BBCode to automatically create a list item

Fixes issues with missing list items. Produces valid HTML.

PHPBB3-14706
This commit is contained in:
JoshyPHP
2016-07-08 07:46:53 +02:00
parent 45ba2e9770
commit 24da2db987
6 changed files with 12 additions and 10 deletions

View File

@@ -86,7 +86,7 @@ class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case
),
array(
'[list]no item[/list]',
'<ul>no item</ul>'
'<ul><li>no item</li></ul>'
),
array(
'[*]unparsed',

View File

@@ -0,0 +1 @@
<ul><li><ol style="list-style-type: lower-alpha"><li>a</li><li>b</li><li>c</li><li>d</li><li>e</li></ol></li><li>outer</li></ul>

View File

@@ -0,0 +1 @@
[list][list=a][*]a[*]b[*]c[*]d[*]e[/list][*]outer[/list]