aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2020-01-08 19:38:50 +0100
committerJoshyPHP <s9e.dev@gmail.com>2020-01-08 19:38:50 +0100
commitaeac3df4a1c07b927595f2bfccfadc01cc030192 (patch)
tree04f918ee1066a2134e4e29e24c2d049958683702 /tests/text_processing
parentMerge branch 'prep-release-3.3.0' into 3.3.x (diff)
downloadphpbb-aeac3df4a1c07b927595f2bfccfadc01cc030192.tar.gz
phpbb-aeac3df4a1c07b927595f2bfccfadc01cc030192.tar.bz2
phpbb-aeac3df4a1c07b927595f2bfccfadc01cc030192.zip
[ticket/16309] Fix smilies with a left square bracket
PHPBB3-16309
Diffstat (limited to 'tests/text_processing')
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-16309.html1
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-16309.txt1
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-16309.xml23
3 files changed, 25 insertions, 0 deletions
diff --git a/tests/text_processing/tickets_data/PHPBB3-16309.html b/tests/text_processing/tickets_data/PHPBB3-16309.html
new file mode 100644
index 0000000000..d8ac3bfed2
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-16309.html
@@ -0,0 +1 @@
+<img class="smilies" src="phpBB/images/smilies/lol.png" width="17" height="17" alt="[lol]" title="lol"> \ No newline at end of file
diff --git a/tests/text_processing/tickets_data/PHPBB3-16309.txt b/tests/text_processing/tickets_data/PHPBB3-16309.txt
new file mode 100644
index 0000000000..c10a809ea0
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-16309.txt
@@ -0,0 +1 @@
+[lol] \ No newline at end of file
diff --git a/tests/text_processing/tickets_data/PHPBB3-16309.xml b/tests/text_processing/tickets_data/PHPBB3-16309.xml
new file mode 100644
index 0000000000..a988e9df4a
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-16309.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<dataset>
+ <table name="phpbb_smilies">
+ <column>smiley_id</column>
+ <column>code</column>
+ <column>emotion</column>
+ <column>smiley_url</column>
+ <column>smiley_width</column>
+ <column>smiley_height</column>
+ <column>smiley_order</column>
+ <column>display_on_posting</column>
+ <row>
+ <value>41</value>
+ <value>[lol]</value>
+ <value>lol</value>
+ <value>lol.png</value>
+ <value>17</value>
+ <value>17</value>
+ <value>41</value>
+ <value>1</value>
+ </row>
+ </table>
+</dataset>