diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-05-30 17:12:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-05-30 17:12:32 -0400 |
commit | a436a064d2cb04e328bbd391fe3eb1c3a79d25bb (patch) | |
tree | f43909ce21e5f51fdf4c5754cdd3fd706a57f6c6 | |
parent | 4a3dc37eafeb45b82c0452cca8a1328e974a583c (diff) | |
download | ikiwiki-a436a064d2cb04e328bbd391fe3eb1c3a79d25bb.tar ikiwiki-a436a064d2cb04e328bbd391fe3eb1c3a79d25bb.tar.gz |
fix test to support rel=
-rwxr-xr-x | t/linkify.t | 2 |
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 { |