fix test to support rel=

master
Joey Hess 2008-05-30 17:12:32 -04:00
parent 4a3dc37eaf
commit a436a064d2
1 changed files with 1 additions and 1 deletions

View File

@ -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 {