From e9e6847803f6c99aeb4a7dffbacd12dc57c9d9e9 Mon Sep 17 00:00:00 2001 From: JoshyPHP Date: Mon, 18 Jul 2016 19:06:29 +0200 Subject: [PATCH] [ticket/14663] Added regression test for Unicode in custom BBCodes PHPBB3-14663 --- .../tickets_data/PHPBB3-14663.html | 1 + .../tickets_data/PHPBB3-14663.txt | 1 + .../tickets_data/PHPBB3-14663.xml | 28 +++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 tests/text_processing/tickets_data/PHPBB3-14663.html create mode 100644 tests/text_processing/tickets_data/PHPBB3-14663.txt create mode 100644 tests/text_processing/tickets_data/PHPBB3-14663.xml 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 @@ + Тест \ 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 @@ + + + + bbcode_id + bbcode_tag + bbcode_helpline + display_on_posting + bbcode_match + bbcode_tpl + first_pass_match + first_pass_replace + second_pass_match + second_pass_replace + + + 13 + test + + 1 + [test]{TEXT}[/test] + {TEXT}]]> + + + + ${1}]]> + +
+