diff --git a/phpBB/composer.lock b/phpBB/composer.lock
index 85242d813b..868f8caf3c 100644
--- a/phpBB/composer.lock
+++ b/phpBB/composer.lock
@@ -819,7 +819,7 @@
"oauth",
"security"
],
- "time": "2016-07-12T22:15:00+00:00"
+ "time": "2018-02-14T22:37:14+00:00"
},
{
"name": "marc1706/fast-image-size",
@@ -1038,7 +1038,7 @@
"pseudorandom",
"random"
],
- "time": "2017-03-13T16:22:52+00:00"
+ "time": "2018-04-04T21:48:54+00:00"
},
{
"name": "patchwork/utf8",
@@ -1287,16 +1287,16 @@
},
{
"name": "s9e/text-formatter",
- "version": "1.4.3",
+ "version": "1.4.4",
"source": {
"type": "git",
"url": "https://github.com/s9e/TextFormatter.git",
- "reference": "76138c98161b2a063ecb28f5a46f9212a04aad1a"
+ "reference": "504d538593350150e50c9de0a48418bb0a48e540"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/s9e/TextFormatter/zipball/76138c98161b2a063ecb28f5a46f9212a04aad1a",
- "reference": "76138c98161b2a063ecb28f5a46f9212a04aad1a",
+ "url": "https://api.github.com/repos/s9e/TextFormatter/zipball/504d538593350150e50c9de0a48418bb0a48e540",
+ "reference": "504d538593350150e50c9de0a48418bb0a48e540",
"shasum": ""
},
"require": {
@@ -1308,6 +1308,7 @@
"require-dev": {
"matthiasmullie/minify": "*",
"php-coveralls/php-coveralls": "*",
+ "phpunit/phpunit": "<6",
"s9e/regexp-builder": "1.*"
},
"suggest": {
@@ -1348,7 +1349,7 @@
"parser",
"shortcodes"
],
- "time": "2019-04-26T12:32:18+00:00"
+ "time": "2019-05-15T00:08:12+00:00"
},
{
"name": "seld/jsonlint",
@@ -3139,7 +3140,8 @@
"authors": [
{
"name": "Michiel Rook",
- "email": "mrook@php.net"
+ "email": "mrook@php.net",
+ "role": "Lead"
},
{
"name": "Phing Community",
diff --git a/tests/text_processing/tickets_data/PHPBB3-16053.html b/tests/text_processing/tickets_data/PHPBB3-16053.html
new file mode 100644
index 0000000000..af70ddf7eb
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-16053.html
@@ -0,0 +1 @@
+Test
\ No newline at end of file
diff --git a/tests/text_processing/tickets_data/PHPBB3-16053.txt b/tests/text_processing/tickets_data/PHPBB3-16053.txt
new file mode 100644
index 0000000000..c786665eb9
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-16053.txt
@@ -0,0 +1 @@
+[test=http://ea117.com]Test[/test]
\ No newline at end of file
diff --git a/tests/text_processing/tickets_data/PHPBB3-16053.xml b/tests/text_processing/tickets_data/PHPBB3-16053.xml
new file mode 100644
index 0000000000..25f7c9e34e
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-16053.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={URL}]{TEXT}[/test]
+ {TEXT}]]>
+ ((?!))
+
+ ((?!))
+
+
+
+