diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-02-13 11:28:51 +0100 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-04-02 19:16:01 +0200 |
commit | f6e3e41717e71fb43ea63785cfe7980e33be3fbf (patch) | |
tree | 79a5f5e975be440147887560699e519ca451201a /tests/text_formatter/s9e | |
parent | 63753bbf1a7a695938c7196fb7c1d9318d7a7375 (diff) | |
download | forums-f6e3e41717e71fb43ea63785cfe7980e33be3fbf.tar forums-f6e3e41717e71fb43ea63785cfe7980e33be3fbf.tar.gz forums-f6e3e41717e71fb43ea63785cfe7980e33be3fbf.tar.bz2 forums-f6e3e41717e71fb43ea63785cfe7980e33be3fbf.tar.xz forums-f6e3e41717e71fb43ea63785cfe7980e33be3fbf.zip |
[ticket/11768] Added support for magic links that start with "www."
PHPBB3-11768
Diffstat (limited to 'tests/text_formatter/s9e')
-rw-r--r-- | tests/text_formatter/s9e/default_formatting_test.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/text_formatter/s9e/default_formatting_test.php b/tests/text_formatter/s9e/default_formatting_test.php index a7d3235c12..99a89a8d2e 100644 --- a/tests/text_formatter/s9e/default_formatting_test.php +++ b/tests/text_formatter/s9e/default_formatting_test.php @@ -193,6 +193,14 @@ class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case "[code]\tline1\n line2[/code]", '<div class="codebox"><p>CODE: <a href="#" onclick="selectCode(this); return false;">Select all</a></p><code> line1<br>' . "\n" . ' line2</code></div>' ), + array( + '... http://example.org ...', + '... <a href="http://example.org" class="postlink">http://example.org</a> ...' + ), + array( + '... www.example.org ...', + '... <a href="http://www.example.org" class="postlink">www.example.org</a> ...' + ), ); } } |