]> git.donarmstrong.com Git - debbugs.git/commitdiff
* remove useless escaping in maybelink, closes #507807
authorDon Armstrong <don@donarmstrong.com>
Fri, 5 Dec 2008 00:37:02 +0000 (16:37 -0800)
committerDon Armstrong <don@donarmstrong.com>
Fri, 5 Dec 2008 00:37:02 +0000 (16:37 -0800)
Debbugs/CGI.pm

index eef564992b3d16ed4e91bf960f3f8387f198ae4b..980a71d0b963e23d81a71a750c2592a8998ca954 100644 (file)
@@ -537,7 +537,7 @@ sub maybelink {
     my ($links,$regex,$join) = @_;
     if (not defined $regex and not defined $join) {
         $links =~ s{((?:ftp|http|https)://[\S~-]+?/?)([\)\'\:\.\,]?(?:\s|\.<|$))}
-                   {q(<a href=\").html_escape($1).q(\">).html_escape($1).q(</a>).$2}geimo;
+                   {q(<a href=").html_escape($1).q(">).html_escape($1).q(</a>).$2}geimo;
         return $links;
     }
     $join = ' ' if not defined $join;