diff --git a/phpBB/composer.lock b/phpBB/composer.lock index 9e698f939f..175aa6f7d3 100644 --- a/phpBB/composer.lock +++ b/phpBB/composer.lock @@ -649,16 +649,16 @@ }, { "name": "s9e/text-formatter", - "version": "0.8.1", + "version": "0.8.3", "source": { "type": "git", "url": "https://github.com/s9e/TextFormatter.git", - "reference": "93f0bc0a1ad829b90b5482c3d2bfc35ee4cfaacf" + "reference": "34668fccbe259fbca0331e7a34409c4502ee71bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/s9e/TextFormatter/zipball/93f0bc0a1ad829b90b5482c3d2bfc35ee4cfaacf", - "reference": "93f0bc0a1ad829b90b5482c3d2bfc35ee4cfaacf", + "url": "https://api.github.com/repos/s9e/TextFormatter/zipball/34668fccbe259fbca0331e7a34409c4502ee71bd", + "reference": "34668fccbe259fbca0331e7a34409c4502ee71bd", "shasum": "" }, "require": { @@ -705,7 +705,7 @@ "parser", "shortcodes" ], - "time": "2016-10-09 23:40:32" + "time": "2016-11-02 08:14:58" }, { "name": "symfony/config", diff --git a/tests/text_processing/tickets_data/PHPBB3-14846.html b/tests/text_processing/tickets_data/PHPBB3-14846.html new file mode 100644 index 0000000000..461ca25bc6 --- /dev/null +++ b/tests/text_processing/tickets_data/PHPBB3-14846.html @@ -0,0 +1 @@ +
moderator text
- Mickroz
\ No newline at end of file diff --git a/tests/text_processing/tickets_data/PHPBB3-14846.txt b/tests/text_processing/tickets_data/PHPBB3-14846.txt new file mode 100644 index 0000000000..ded7b3f1fe --- /dev/null +++ b/tests/text_processing/tickets_data/PHPBB3-14846.txt @@ -0,0 +1 @@ +[mod=Mickroz]moderator text[/mod] \ No newline at end of file diff --git a/tests/text_processing/tickets_data/PHPBB3-14846.xml b/tests/text_processing/tickets_data/PHPBB3-14846.xml new file mode 100644 index 0000000000..94b094f0e3 --- /dev/null +++ b/tests/text_processing/tickets_data/PHPBB3-14846.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 + mod= + + 1 + [mod={TEXT1}]{TEXT2}[/mod] + {TEXT2}
- {TEXT1}
]]>
+ + + + ${2}
- ${1}
]]>
+
+
+