aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {