diff options
author | Eric Wong <e@80x24.org> | 2016-07-06 02:32:07 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-07-06 07:12:45 +0000 |
commit | 8a770e2b8ec58bb3ac283aeaa97a4fddba3b03f9 (patch) | |
tree | 48078bfdf054c3e3dd3737db084ef479b687bfc6 /lib/PublicInbox/Unsubscribe.pm | |
parent | de92f32ad9d7c46db4d9e70fe441576b89aa0f5a (diff) | |
download | public-inbox-8a770e2b8ec58bb3ac283aeaa97a4fddba3b03f9.tar.gz |
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/Unsubscribe.pm')
-rw-r--r-- | lib/PublicInbox/Unsubscribe.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Unsubscribe.pm b/lib/PublicInbox/Unsubscribe.pm index 46d5d8d7..fca300e5 100644 --- a/lib/PublicInbox/Unsubscribe.pm +++ b/lib/PublicInbox/Unsubscribe.pm @@ -136,7 +136,7 @@ sub r { my ($self, $code, $title, @body) = @_; [ $code, [ @CT_HTML ], [ "<html><head><title>$title</title></head><body><pre>". - join("\n", "<b>$title</b>\n", @body) . '</pre><hr />'. + join("\n", "<b>$title</b>\n", @body) . '</pre><hr>'. "<pre>This page is available under AGPL-3.0+\n" . "git clone $self->{code_url}\n" . qq(Email $self->{contact} if you have any questions). |