From 27beeb0425cd92343d3d529e37f01de8982a1078 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 15 Apr 2014 06:18:43 +0000 Subject: HTML: ensure hrefs are quoted properly We may be breaking some parsers or allowing more breakage to slip through without quotes. We waste some bytes, though. --- t/view.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/view.t') diff --git a/t/view.t b/t/view.t index ad79c413..ef1b74c9 100644 --- a/t/view.t +++ b/t/view.t @@ -33,7 +33,7 @@ EOF my $html = PublicInbox::View->as_html($s); # ghetto - like($html, qr/]+>> Long and wordy/, @@ -44,7 +44,7 @@ EOF my $short = PublicInbox::View->as_html($s, $pfx); like($short, qr/\n> keep this inline/, "short quoted text is inline"); - like($short, qr/]+>Long and wordy/, + like($short, qr/