diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2017-09-06 03:35:26 +0200 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2017-09-06 03:35:26 +0200 |
commit | 837dc9b3a737e68d12eef033572894a81a2c0de7 (patch) | |
tree | 9047f7a4be8446c04153df3271c7f0b28e40f2ee /tests/text_processing | |
parent | 1e605efaf126f5474bb1be99e7fdaed834ebb2a0 (diff) | |
download | forums-837dc9b3a737e68d12eef033572894a81a2c0de7.tar forums-837dc9b3a737e68d12eef033572894a81a2c0de7.tar.gz forums-837dc9b3a737e68d12eef033572894a81a2c0de7.tar.bz2 forums-837dc9b3a737e68d12eef033572894a81a2c0de7.tar.xz forums-837dc9b3a737e68d12eef033572894a81a2c0de7.zip |
[ticket/15348] Ignore smilies that are immediately followed by a word
PHPBB3-15348
Diffstat (limited to 'tests/text_processing')
-rw-r--r-- | tests/text_processing/tickets_data/PHPBB3-15348.html | 1 | ||||
-rw-r--r-- | tests/text_processing/tickets_data/PHPBB3-15348.txt | 1 | ||||
-rw-r--r-- | tests/text_processing/tickets_data/PHPBB3-15348.xml | 33 |
3 files changed, 35 insertions, 0 deletions
diff --git a/tests/text_processing/tickets_data/PHPBB3-15348.html b/tests/text_processing/tickets_data/PHPBB3-15348.html new file mode 100644 index 0000000000..e65925ec28 --- /dev/null +++ b/tests/text_processing/tickets_data/PHPBB3-15348.html @@ -0,0 +1 @@ +<img class="smilies" src="phpBB/images/smilies/icon_e_surprised.gif" width="15" height="17" alt=":o" title="First half of :ok:"> <img class="smilies" src="phpBB/images/smilies/icon_lol.gif" width="15" height="17" alt="k:" title="Second half of :ok:"> <img alt=":ok:" class="emoji smilies" draggable="false" src="//cdn.jsdelivr.net/emojione/assets/svg/1f197.svg">
\ No newline at end of file diff --git a/tests/text_processing/tickets_data/PHPBB3-15348.txt b/tests/text_processing/tickets_data/PHPBB3-15348.txt new file mode 100644 index 0000000000..d6b971702c --- /dev/null +++ b/tests/text_processing/tickets_data/PHPBB3-15348.txt @@ -0,0 +1 @@ +:o k: :ok:
\ No newline at end of file diff --git a/tests/text_processing/tickets_data/PHPBB3-15348.xml b/tests/text_processing/tickets_data/PHPBB3-15348.xml new file mode 100644 index 0000000000..0c88c8824f --- /dev/null +++ b/tests/text_processing/tickets_data/PHPBB3-15348.xml @@ -0,0 +1,33 @@ +<?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>13</value> + <value>:o</value> + <value>First half of :ok:</value> + <value>icon_e_surprised.gif</value> + <value>15</value> + <value>17</value> + <value>14</value> + <value>1</value> + </row> + <row> + <value>99</value> + <value>k:</value> + <value>Second half of :ok:</value> + <value>icon_lol.gif</value> + <value>15</value> + <value>17</value> + <value>22</value> + <value>1</value> + </row> + </table> +</dataset> |