aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-07-16 17:33:34 +0200
committerMarc Alexander <admin@m-a-styles.de>2017-07-16 17:33:34 +0200
commit337c8451e750fe89b9a8eb0b461db1a5699ca005 (patch)
treee134276e33e1b5509508c5c603a20015cee672e1 /tests
parent4b733426698760801ff2b8ce3ce077c16732d4ef (diff)
parent329e5c5e052588b0f22c9046b9fbc19c9e551c81 (diff)
downloadforums-337c8451e750fe89b9a8eb0b461db1a5699ca005.tar
forums-337c8451e750fe89b9a8eb0b461db1a5699ca005.tar.gz
forums-337c8451e750fe89b9a8eb0b461db1a5699ca005.tar.bz2
forums-337c8451e750fe89b9a8eb0b461db1a5699ca005.tar.xz
forums-337c8451e750fe89b9a8eb0b461db1a5699ca005.zip
Merge pull request #4865 from JoshyPHP/ticket/15261
[ticket/15261] Fix censoring HTML tags
Diffstat (limited to 'tests')
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-15261.html1
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-15261.txt1
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-15261.xml14
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/text_processing/tickets_data/PHPBB3-15261.html b/tests/text_processing/tickets_data/PHPBB3-15261.html
new file mode 100644
index 0000000000..b563052b47
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-15261.html
@@ -0,0 +1 @@
+foo **** baz \ No newline at end of file
diff --git a/tests/text_processing/tickets_data/PHPBB3-15261.txt b/tests/text_processing/tickets_data/PHPBB3-15261.txt
new file mode 100644
index 0000000000..a8c4a05c10
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-15261.txt
@@ -0,0 +1 @@
+foo <bar> baz \ No newline at end of file
diff --git a/tests/text_processing/tickets_data/PHPBB3-15261.xml b/tests/text_processing/tickets_data/PHPBB3-15261.xml
new file mode 100644
index 0000000000..c0d0f395a1
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-15261.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<dataset>
+ <table name="phpbb_words">
+ <column>word_id</column>
+ <column>word</column>
+ <column>replacement</column>
+
+ <row>
+ <value>1</value>
+ <value>&lt;*&gt;</value>
+ <value>****</value>
+ </row>
+ </table>
+</dataset>