diff options
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index d5e371f64..fa7247243 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -170,7 +170,7 @@ sub quoteUrls { # If the comment is already wrapped, we should ignore newlines when # looking for matching regexps. Else we should take them into account. - my $s = ($comment && $comment->{already_wrapped}) + my $s = ($comment && $comment->already_wrapped) ? qr/\s/ : qr/[[:blank:]]/; # However, note that adding the title (for buglinks) can affect things |