about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
authorEric Wong <e@80x24.org>2016-07-06 02:32:07 +0000
committerEric Wong <e@80x24.org>2016-07-06 07:12:45 +0000
commit8a770e2b8ec58bb3ac283aeaa97a4fddba3b03f9 (patch)
tree48078bfdf054c3e3dd3737db084ef479b687bfc6 /lib/PublicInbox/Feed.pm
parentde92f32ad9d7c46db4d9e70fe441576b89aa0f5a (diff)
www: use HTML <hr> instead of XHTML <hr />
We only need XHTML-compatibility inside Atom feeds, as
anecdotally, feed readers are stricter than normal browsers and
some do not support HTML, only XHTML.  So we will continue to
accomodate them.  However we favor HTML elsewhere since it
tends to be smaller than the equivalent well-formed XHTML.
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index 2983514c..1f88abaa 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -188,7 +188,7 @@ sub emit_html_index {
         if ($footer) {
                 my $list_footer = $ctx->{footer};
                 $footer .= "\n\n" . $list_footer if $list_footer;
-                $footer = "<hr /><pre>$footer</pre>";
+                $footer = "<hr><pre>$footer</pre>";