aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_processing/tickets_data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/text_processing/tickets_data')
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-14663.html1
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-14663.txt1
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-14663.xml28
3 files changed, 30 insertions, 0 deletions
diff --git a/tests/text_processing/tickets_data/PHPBB3-14663.html b/tests/text_processing/tickets_data/PHPBB3-14663.html
new file mode 100644
index 0000000000..b18bcfd52b
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-14663.html
@@ -0,0 +1 @@
+<input type="button" value="Кнопка!"> Тест \ No newline at end of file
diff --git a/tests/text_processing/tickets_data/PHPBB3-14663.txt b/tests/text_processing/tickets_data/PHPBB3-14663.txt
new file mode 100644
index 0000000000..5443ae3046
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-14663.txt
@@ -0,0 +1 @@
+[test]Тест[/test] \ No newline at end of file
diff --git a/tests/text_processing/tickets_data/PHPBB3-14663.xml b/tests/text_processing/tickets_data/PHPBB3-14663.xml
new file mode 100644
index 0000000000..423d01e242
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-14663.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<dataset>
+ <table name="phpbb_bbcodes">
+ <column>bbcode_id</column>
+ <column>bbcode_tag</column>
+ <column>bbcode_helpline</column>
+ <column>display_on_posting</column>
+ <column>bbcode_match</column>
+ <column>bbcode_tpl</column>
+ <column>first_pass_match</column>
+ <column>first_pass_replace</column>
+ <column>second_pass_match</column>
+ <column>second_pass_replace</column>
+
+ <row>
+ <value>13</value>
+ <value>test</value>
+ <value></value>
+ <value>1</value>
+ <value>[test]{TEXT}[/test]</value>
+ <value><![CDATA[<input type=button value="Кнопка!" /> {TEXT}]]></value>
+ <value><![CDATA[!\[test\](.*?)\[/test\]!ies]]></value>
+ <value><![CDATA['[test:$uid]'.str_replace(array("\r\n", '\"', '\'', '(', ')'), array("\n", '"', '&#39;', '&#40;', '&#41;'), trim('${1}')).'[/test:$uid]']]></value>
+ <value><![CDATA[!\[test:$uid\](.*?)\[/test:$uid\]!s]]></value>
+ <value><![CDATA[<input type=button value="Кнопка!" /> ${1}]]></value>
+ </row>
+ </table>
+</dataset>