From 76afceda9d7515912c27598d1eb7fda7a9dd94d0 Mon Sep 17 00:00:00 2001 From: Eric Wong <e@80x24.org> Date: Tue, 30 Jan 2018 18:17:47 +0000 Subject: [PATCH] view: close <pre> in reply instructions We leave the mailto: link out when obfuscating address, so do not stuff the "</pre>" closing tag into it. Instead, keep the closing tag in the same context as the opening one, making it easier to keep track of. --- lib/PublicInbox/View.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 70e38a6e..0de53cb2 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -70,9 +70,10 @@ sub msg_reply { * If your mail client supports setting the <b>In-Reply-To</b> header via mailto: links, try the <a -href="$link">mailto: link</a></pre> +href="$link">mailto: link</a> EOF } + push @$arg, '/path/to/YOUR_REPLY'; $arg = ascii_html(join(" \\\n ", '', @$arg)); <<EOF @@ -98,7 +99,7 @@ $info <a href="$se_url">$se_url</a> -$link +$link</pre> EOF } -- 2.50.0