mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/15016] Fixed an issue with some parentheses in smilies
PHPBB3-15016
This commit is contained in:
parent
42e78004fb
commit
52d53ef3de
5 changed files with 58 additions and 8 deletions
|
@ -33,7 +33,7 @@
|
||||||
"marc1706/fast-image-size": "^1.1",
|
"marc1706/fast-image-size": "^1.1",
|
||||||
"paragonie/random_compat": "^1.4",
|
"paragonie/random_compat": "^1.4",
|
||||||
"patchwork/utf8": "^1.1",
|
"patchwork/utf8": "^1.1",
|
||||||
"s9e/text-formatter": "~0.8.0",
|
"s9e/text-formatter": "~0.9.0",
|
||||||
"symfony/config": "^2.8",
|
"symfony/config": "^2.8",
|
||||||
"symfony/console": "^2.8",
|
"symfony/console": "^2.8",
|
||||||
"symfony/debug": "^2.8",
|
"symfony/debug": "^2.8",
|
||||||
|
|
19
phpBB/composer.lock
generated
19
phpBB/composer.lock
generated
|
@ -4,8 +4,8 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"hash": "8d03337c5b9f6ae7cc1a26f84ba0270b",
|
"hash": "fa77bb5667bcac933b072b639a44aec0",
|
||||||
"content-hash": "be4cb6437adc268d96f99bcbaad66d03",
|
"content-hash": "da4fd9fbb589d2cffaa3f0168875475d",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "bantu/ini-get-wrapper",
|
"name": "bantu/ini-get-wrapper",
|
||||||
|
@ -658,16 +658,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "s9e/text-formatter",
|
"name": "s9e/text-formatter",
|
||||||
"version": "0.8.4",
|
"version": "0.9.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/s9e/TextFormatter.git",
|
"url": "https://github.com/s9e/TextFormatter.git",
|
||||||
"reference": "919fd772aae4dd889618da1cb18ae746f2a14bb6"
|
"reference": "9dc4227779f8a753dbf0c4f8cb129320522d325c"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/s9e/TextFormatter/zipball/919fd772aae4dd889618da1cb18ae746f2a14bb6",
|
"url": "https://api.github.com/repos/s9e/TextFormatter/zipball/9dc4227779f8a753dbf0c4f8cb129320522d325c",
|
||||||
"reference": "919fd772aae4dd889618da1cb18ae746f2a14bb6",
|
"reference": "9dc4227779f8a753dbf0c4f8cb129320522d325c",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -676,6 +676,11 @@
|
||||||
"lib-pcre": ">=7.2",
|
"lib-pcre": ">=7.2",
|
||||||
"php": ">=5.3.3"
|
"php": ">=5.3.3"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"matthiasmullie/minify": "*",
|
||||||
|
"php": ">=5.3.3",
|
||||||
|
"s9e/regexp-builder": ">=1.3.0"
|
||||||
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"ext-curl": "Improves the performance of the MediaEmbed plugin and some JavaScript minifiers",
|
"ext-curl": "Improves the performance of the MediaEmbed plugin and some JavaScript minifiers",
|
||||||
"ext-intl": "Allows international URLs to be accepted by the URL filter",
|
"ext-intl": "Allows international URLs to be accepted by the URL filter",
|
||||||
|
@ -714,7 +719,7 @@
|
||||||
"parser",
|
"parser",
|
||||||
"shortcodes"
|
"shortcodes"
|
||||||
],
|
],
|
||||||
"time": "2016-11-22 20:10:24"
|
"time": "2017-01-15 10:15:45"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/config",
|
"name": "symfony/config",
|
||||||
|
|
1
tests/text_processing/tickets_data/PHPBB3-15016.html
Normal file
1
tests/text_processing/tickets_data/PHPBB3-15016.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<img class="smilies" src="phpBB/images/smilies/icon_lol.gif" width="15" height="17" alt=")--(" title=")--("> <img class="smilies" src="phpBB/images/smilies/icon_lol.gif" width="15" height="17" alt=")-(" title=")-("> <img class="smilies" src="phpBB/images/smilies/icon_lol.gif" width="15" height="17" alt=")--" title=")--">
|
1
tests/text_processing/tickets_data/PHPBB3-15016.txt
Normal file
1
tests/text_processing/tickets_data/PHPBB3-15016.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
)--( )-( )--
|
43
tests/text_processing/tickets_data/PHPBB3-15016.xml
Normal file
43
tests/text_processing/tickets_data/PHPBB3-15016.xml
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<dataset>
|
||||||
|
<table name="phpbb_smilies">
|
||||||
|
<column>smiley_id</column>
|
||||||
|
<column>code</column>
|
||||||
|
<column>emotion</column>
|
||||||
|
<column>smiley_url</column>
|
||||||
|
<column>smiley_width</column>
|
||||||
|
<column>smiley_height</column>
|
||||||
|
<column>smiley_order</column>
|
||||||
|
<column>display_on_posting</column>
|
||||||
|
<row>
|
||||||
|
<value>1</value>
|
||||||
|
<value>)--(</value>
|
||||||
|
<value>)--(</value>
|
||||||
|
<value>icon_lol.gif</value>
|
||||||
|
<value>15</value>
|
||||||
|
<value>17</value>
|
||||||
|
<value>22</value>
|
||||||
|
<value>1</value>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<value>2</value>
|
||||||
|
<value>)--</value>
|
||||||
|
<value>)--</value>
|
||||||
|
<value>icon_lol.gif</value>
|
||||||
|
<value>15</value>
|
||||||
|
<value>17</value>
|
||||||
|
<value>22</value>
|
||||||
|
<value>1</value>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<value>3</value>
|
||||||
|
<value>)-(</value>
|
||||||
|
<value>)-(</value>
|
||||||
|
<value>icon_lol.gif</value>
|
||||||
|
<value>15</value>
|
||||||
|
<value>17</value>
|
||||||
|
<value>22</value>
|
||||||
|
<value>1</value>
|
||||||
|
</row>
|
||||||
|
</table>
|
||||||
|
</dataset>
|
Loading…
Add table
Reference in a new issue