mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11742] Added test
PHPBB3-11742
This commit is contained in:
parent
ebda279bea
commit
3f52429e3d
1 changed files with 4 additions and 0 deletions
|
@ -197,6 +197,10 @@ class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case
|
||||||
"[code]\tline1\n line2[/code]",
|
"[code]\tline1\n line2[/code]",
|
||||||
'<div class="codebox"><p>CODE: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code>' . "\tline1\n line2</code></pre></div>"
|
'<div class="codebox"><p>CODE: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code>' . "\tline1\n line2</code></pre></div>"
|
||||||
),
|
),
|
||||||
|
array(
|
||||||
|
"[code]\n\tline1\n line2[/code]",
|
||||||
|
'<div class="codebox"><p>CODE: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><pre><code>' . "\tline1\n line2</code></pre></div>"
|
||||||
|
),
|
||||||
array(
|
array(
|
||||||
'... http://example.org ...',
|
'... http://example.org ...',
|
||||||
'... <a href="http://example.org" class="postlink">http://example.org</a> ...'
|
'... <a href="http://example.org" class="postlink">http://example.org</a> ...'
|
||||||
|
|
Loading…
Add table
Reference in a new issue