]> Sergey Matveev's repositories - public-inbox.git/commitdiff
feed: pedantically quote HTML attributes
authorEric Wong <e@80x24.org>
Mon, 28 Apr 2014 03:27:21 +0000 (03:27 +0000)
committerEric Wong <e@80x24.org>
Mon, 28 Apr 2014 07:29:15 +0000 (07:29 +0000)
This is more correct, although it costs us 4 bytes.

lib/PublicInbox/Feed.pm

index 220703709264b988c3a503f99fa7cc789a56e04a..c2f7f448f5567c25f5b1a8fc9d5b840905c4b416 100644 (file)
@@ -82,7 +82,7 @@ sub generate_html_index {
        $th->thread;
        my @out = (
                "<html><head><title>$title</title>" .
-               '<link rel=alternate title=Atom.feed href="' .
+               '<link rel="alternate" title="Atom feed" href="' .
                $feed_opts->{atomurl} . '" type="application/atom+xml"/>' .
                '</head><body><pre>');
        push @out, $feed_opts->{midurl};