aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-07-14 20:18:24 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-07-14 20:18:24 +0200
commitebdef04f5d751227c7e6ec4bae26bdf694409551 (patch)
tree71c7e67c618f6f68b93ff53cb020daff557041e9 /tests
parentd47a22dda0c94c34bd3673c838ec7606fb6dbeee (diff)
parent24da2db987c895c474b1d0a59344a7094133f278 (diff)
downloadforums-ebdef04f5d751227c7e6ec4bae26bdf694409551.tar
forums-ebdef04f5d751227c7e6ec4bae26bdf694409551.tar.gz
forums-ebdef04f5d751227c7e6ec4bae26bdf694409551.tar.bz2
forums-ebdef04f5d751227c7e6ec4bae26bdf694409551.tar.xz
forums-ebdef04f5d751227c7e6ec4bae26bdf694409551.zip
Merge pull request #4380 from JoshyPHP/ticket/14706
[ticket/14706] Updated [list] BBCode to automatically create a list item
Diffstat (limited to 'tests')
-rw-r--r--tests/text_formatter/s9e/default_formatting_test.php2
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-14706.html1
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-14706.txt1
3 files changed, 3 insertions, 1 deletions
diff --git a/tests/text_formatter/s9e/default_formatting_test.php b/tests/text_formatter/s9e/default_formatting_test.php
index a41e5da507..5bd1123bba 100644
--- a/tests/text_formatter/s9e/default_formatting_test.php
+++ b/tests/text_formatter/s9e/default_formatting_test.php
@@ -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',
diff --git a/tests/text_processing/tickets_data/PHPBB3-14706.html b/tests/text_processing/tickets_data/PHPBB3-14706.html
new file mode 100644
index 0000000000..b8f74c9e93
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-14706.html
@@ -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> \ No newline at end of file
diff --git a/tests/text_processing/tickets_data/PHPBB3-14706.txt b/tests/text_processing/tickets_data/PHPBB3-14706.txt
new file mode 100644
index 0000000000..8ec2e9cd35
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-14706.txt
@@ -0,0 +1 @@
+[list][list=a][*]a[*]b[*]c[*]d[*]e[/list][*]outer[/list] \ No newline at end of file