diff options
author | Eric Wong <e@80x24.org> | 2018-01-30 18:17:47 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2018-01-30 18:17:47 +0000 |
commit | 76afceda9d7515912c27598d1eb7fda7a9dd94d0 (patch) | |
tree | 99c23927d346e9e772a37d5abcfd436ef34f2230 /lib/PublicInbox | |
parent | 7ee391533b51f37e949e31a26c2ad93b935c3d03 (diff) | |
download | public-inbox-76afceda9d7515912c27598d1eb7fda7a9dd94d0.tar.gz |
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.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/View.pm | 5 |
1 files 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 } |