mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13641] Added regression test
PHPBB3-13641
This commit is contained in:
parent
39f1e8c009
commit
c56726e9da
3 changed files with 30 additions and 0 deletions
1
tests/text_processing/tickets_data/PHPBB3-13641.html
Normal file
1
tests/text_processing/tickets_data/PHPBB3-13641.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<code>[color=#FF0000]</code> - <span style="color: #FF0000">red</span>
|
1
tests/text_processing/tickets_data/PHPBB3-13641.txt
Normal file
1
tests/text_processing/tickets_data/PHPBB3-13641.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
[c][color=#FF0000][/c] - [color=#FF0000]red[/color]
|
28
tests/text_processing/tickets_data/PHPBB3-13641.xml
Normal file
28
tests/text_processing/tickets_data/PHPBB3-13641.xml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<dataset>
|
||||||
|
<table name="phpbb_bbcodes">
|
||||||
|
<column>bbcode_id</column>
|
||||||
|
<column>bbcode_tag</column>
|
||||||
|
<column>bbcode_helpline</column>
|
||||||
|
<column>display_on_posting</column>
|
||||||
|
<column>bbcode_match</column>
|
||||||
|
<column>bbcode_tpl</column>
|
||||||
|
<column>first_pass_match</column>
|
||||||
|
<column>first_pass_replace</column>
|
||||||
|
<column>second_pass_match</column>
|
||||||
|
<column>second_pass_replace</column>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<value>13</value>
|
||||||
|
<value>c</value>
|
||||||
|
<value></value>
|
||||||
|
<value>1</value>
|
||||||
|
<value>[c]{TEXT}[/c]</value>
|
||||||
|
<value><![CDATA[<code>{TEXT}</code>]]></value>
|
||||||
|
<value><\[/c\]!ies]]></value>
|
||||||
|
<value><![CDATA['[c:$uid]'.str_replace(array("\r\n", '\"', '\'', '(', ')'), array("\n", '"', ''', '(', ')'), trim('${1}')).'[/c:$uid]']]></value>
|
||||||
|
<value><\[/c:$uid\]!s]]></value>
|
||||||
|
<value><![CDATA[<code>${1}</code>]]></value>
|
||||||
|
</row>
|
||||||
|
</table>
|
||||||
|
</dataset>
|
Loading…
Add table
Reference in a new issue