aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorJeff Tilson <jrtilson@gmail.com>2013-04-29 14:42:24 -0400
committerJeff Tilson <jrtilson@gmail.com>2013-04-29 14:42:24 -0400
commitf04fdceb5941df31e1ac94f7fb586c2688813da7 (patch)
treedb596fc7c0c3782e8049980e2c411ad420346d02 /engine
parent003439fd46cb5e0dedfabf6e49110b3bdffbefe9 (diff)
downloadelgg-f04fdceb5941df31e1ac94f7fb586c2688813da7.tar.gz
elgg-f04fdceb5941df31e1ac94f7fb586c2688813da7.tar.bz2
Adding single quote anchor to parse_url unit test
Diffstat (limited to 'engine')
-rw-r--r--engine/tests/regression/trac_bugs.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/engine/tests/regression/trac_bugs.php b/engine/tests/regression/trac_bugs.php
index cb3f20421..b7654a794 100644
--- a/engine/tests/regression/trac_bugs.php
+++ b/engine/tests/regression/trac_bugs.php
@@ -282,8 +282,12 @@ class ElggCoreRegressionBugsTest extends ElggCoreUnitTest {
'ssl <a href="https://example.org/" rel="nofollow">https:/<wbr />/<wbr />example.org/<wbr /></a> test',
'ftp ftp://example.org/ test' =>
'ftp <a href="ftp://example.org/" rel="nofollow">ftp:/<wbr />/<wbr />example.org/<wbr /></a> test',
- '<a href="http://web.archive.org/web/20000229040250/http://www.google.com/">google</a>' =>
- '<a href="http://web.archive.org/web/20000229040250/http://www.google.com/">google</a>'
+
+ 'web archive anchor <a href="http://web.archive.org/web/20000229040250/http://www.google.com/">google</a>' =>
+ 'web archive anchor <a href="http://web.archive.org/web/20000229040250/http://www.google.com/">google</a>',
+
+ 'single quotes already anchor <a href=\'http://www.yahoo.com\'>yahoo</a>' =>
+ 'single quotes already anchor <a href=\'http://www.yahoo.com\'>yahoo</a>'
);
foreach ($cases as $input => $output) {