aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_processing
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2017-07-03 16:06:50 +0200
committerJoshyPHP <s9e.dev@gmail.com>2017-07-03 16:06:50 +0200
commit329e5c5e052588b0f22c9046b9fbc19c9e551c81 (patch)
tree5236fda731289ee0b5b818555129af1db4afdf1a /tests/text_processing
parentaef138d8bc2cc2c74bc9951d136c7bc1e0cf3ad7 (diff)
downloadforums-329e5c5e052588b0f22c9046b9fbc19c9e551c81.tar
forums-329e5c5e052588b0f22c9046b9fbc19c9e551c81.tar.gz
forums-329e5c5e052588b0f22c9046b9fbc19c9e551c81.tar.bz2
forums-329e5c5e052588b0f22c9046b9fbc19c9e551c81.tar.xz
forums-329e5c5e052588b0f22c9046b9fbc19c9e551c81.zip
[ticket/15261] Fix censoring HTML tags
PHPBB3-15261
Diffstat (limited to 'tests/text_processing')
-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>