about summary refs log tree commit homepage
path: root/lib/PublicInbox/WWW.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-09-13 21:50:31 +0000
committerEric Wong <e@80x24.org>2014-09-13 22:00:32 +0000
commit6b770362ceb3dd9089de0cffb7716fb533d2709b (patch)
treefda7ef0652bfe1a6d22167459f71d55236671348 /lib/PublicInbox/WWW.pm
parent627b9bd388d67d6532a7f2dba0603a602a412a07 (diff)
downloadpublic-inbox-6b770362ceb3dd9089de0cffb7716fb533d2709b.tar.gz
It's important to keep HTML source readable to folks who prefer
to read raw HTML.  This should improve readability of the HTML
source by keeping line length in check without wasting bytes.
Diffstat (limited to 'lib/PublicInbox/WWW.pm')
-rw-r--r--lib/PublicInbox/WWW.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm
index 2d8f2afc..f67e72ce 100644
--- a/lib/PublicInbox/WWW.pm
+++ b/lib/PublicInbox/WWW.pm
@@ -252,10 +252,10 @@ sub footer {
         if ($nurls == 0) {
                 $urls = '($GIT_DIR/cloneurl missing)';
         } elsif ($nurls == 1) {
-                $urls = 'git URL for <a href="' . SSOMA_URL .
+                $urls = "git URL for <a\nhref=\"" . SSOMA_URL .
                         '">ssoma</a>: ' . $urls[0];
         } else {
-                $urls = 'git URLs for <a href="' . SSOMA_URL .
+                $urls = "git URLs for <a\nhref=\"" . SSOMA_URL .
                         "\">ssoma</a>:\n" . join("\n", map { "\t$_" } @urls);
         }
 
@@ -264,11 +264,11 @@ sub footer {
                 $addr = $addr->[0]; # first address is primary
         }
 
-        $addr = "<a href=\"mailto:$addr\">$addr</a>";
+        $addr = "<a\nhref=\"mailto:$addr\">$addr</a>";
         $desc =  $desc;
         join("\n",
                 '- ' . $desc,
-                'A <a href="' . PI_URL .  '">public-inbox</a>, ' .
+                "A <a\nhref=\"" . PI_URL .  '">public-inbox</a>, ' .
                         'anybody may post in plain-text (not HTML):',
                 $addr,
                 $urls