aboutsummaryrefslogtreecommitdiff
path: root/t/linkify.t
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-30 17:12:32 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-30 17:12:32 -0400
commita436a064d2cb04e328bbd391fe3eb1c3a79d25bb (patch)
treef43909ce21e5f51fdf4c5754cdd3fd706a57f6c6 /t/linkify.t
parent4a3dc37eafeb45b82c0452cca8a1328e974a583c (diff)
downloadikiwiki-a436a064d2cb04e328bbd391fe3eb1c3a79d25bb.tar
ikiwiki-a436a064d2cb04e328bbd391fe3eb1c3a79d25bb.tar.gz
fix test to support rel=
Diffstat (limited to 't/linkify.t')
-rwxr-xr-xt/linkify.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/linkify.t b/t/linkify.t
index 6922df343..6dff0a029 100755
--- a/t/linkify.t
+++ b/t/linkify.t
@@ -45,7 +45,7 @@ sub links_to ($$) {
my $link=shift;
my $content=shift;
- if ($content =~ m!<a href="[^"]*\Q$link\E[^"]*">!) {
+ if ($content =~ m!<a href="[^"]*\Q$link\E[^"]*"\s*[^>]*>!) {
return 1;
}
else {