From 8a770e2b8ec58bb3ac283aeaa97a4fddba3b03f9 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 6 Jul 2016 02:32:07 +0000 Subject: www: use HTML
instead of XHTML
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. --- lib/PublicInbox/Feed.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/Feed.pm') 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 = "
$footer
"; + $footer = "
$footer
"; } $fh->write("$footer"); $fh->close; -- cgit v1.2.3-24-ge0c7