diff --git a/phpBB/composer.json b/phpBB/composer.json index 245b3e7318..f646810c89 100644 --- a/phpBB/composer.json +++ b/phpBB/composer.json @@ -33,7 +33,7 @@ "marc1706/fast-image-size": "1.1.*", "paragonie/random_compat": "^1.2", "patchwork/utf8": "1.1.*", - "s9e/text-formatter": "^0.4.2", + "s9e/text-formatter": "^0.5.4", "symfony/config": "2.8.*", "symfony/console": "2.8.*", "symfony/debug": "2.8.*", diff --git a/phpBB/composer.lock b/phpBB/composer.lock index 1d0a94830d..d16110827c 100644 --- a/phpBB/composer.lock +++ b/phpBB/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "306150660d9296419b5ccbafe6366ea7", - "content-hash": "9f0c9c1562e9268e2fec8ec4e555b5f8", + "hash": "fec7bc3228cc92090bfd861971e7d887", + "content-hash": "47ba876ad4313363a22bdc59c1cec141", "packages": [ { "name": "bantu/ini-get-wrapper", @@ -647,16 +647,16 @@ }, { "name": "s9e/text-formatter", - "version": "0.4.12", + "version": "0.5.4", "source": { "type": "git", "url": "https://github.com/s9e/TextFormatter.git", - "reference": "7033b824b2ea06046f98420f250d5db84c695288" + "reference": "e9363a0d2d6ddef40200854207557c648d36d925" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/s9e/TextFormatter/zipball/7033b824b2ea06046f98420f250d5db84c695288", - "reference": "7033b824b2ea06046f98420f250d5db84c695288", + "url": "https://api.github.com/repos/s9e/TextFormatter/zipball/e9363a0d2d6ddef40200854207557c648d36d925", + "reference": "e9363a0d2d6ddef40200854207557c648d36d925", "shasum": "" }, "require": { @@ -703,7 +703,7 @@ "parser", "shortcodes" ], - "time": "2016-03-20 10:22:44" + "time": "2016-07-08 05:19:02" }, { "name": "symfony/config", diff --git a/phpBB/phpbb/textformatter/s9e/factory.php b/phpBB/phpbb/textformatter/s9e/factory.php index 8c273c342e..8d1c0fabfe 100644 --- a/phpBB/phpbb/textformatter/s9e/factory.php +++ b/phpBB/phpbb/textformatter/s9e/factory.php @@ -82,7 +82,7 @@ class factory implements \phpbb\textformatter\cache_interface 'flash' => '[FLASH={NUMBER1},{NUMBER2} width={NUMBER1;postFilter=#flashwidth} height={NUMBER2;postFilter=#flashheight} url={URL;useContent} /]', 'i' => '[I]{TEXT}[/I]', 'img' => '[IMG src={IMAGEURL;useContent}]', - 'list' => '[LIST type={HASHMAP=1:decimal,a:lower-alpha,A:upper-alpha,i:lower-roman,I:upper-roman;optional;postFilter=#simpletext}]{TEXT}[/LIST]', + 'list' => '[LIST type={HASHMAP=1:decimal,a:lower-alpha,A:upper-alpha,i:lower-roman,I:upper-roman;optional;postFilter=#simpletext} #createChild=LI]{TEXT}[/LIST]', 'li' => '[* $tagName=LI]{TEXT}[/*]', 'quote' => "[QUOTE diff --git a/tests/text_formatter/s9e/default_formatting_test.php b/tests/text_formatter/s9e/default_formatting_test.php index a41e5da507..5bd1123bba 100644 --- a/tests/text_formatter/s9e/default_formatting_test.php +++ b/tests/text_formatter/s9e/default_formatting_test.php @@ -86,7 +86,7 @@ class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case ), array( '[list]no item[/list]', - '