about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--html.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/html.c b/html.c
index 1635094..5146a34 100644
--- a/html.c
+++ b/html.c
@@ -71,7 +71,9 @@ htmlAddressList(FILE *file, const char *class, struct AddressList list) {
 
 static char *htmlMailto(const struct Envelope *envelope) {
 	const char *template = {
-		"mailto:[mailbox]@[host]?subject=[re][subject]&In-Reply-To=[messageID]"
+		"mailto:[mailbox]@[host]"
+		"?subject=[re][subject]"
+		"&In-Reply-To=[<][messageID][>]"
 	};
 	struct Variable vars[] = {
 		{ "mailbox", envelope->replyTo.mailbox },
@@ -79,6 +81,8 @@ static char *htmlMailto(const struct Envelope *envelope) {
 		{ "re", (strncmp(envelope->subject, "Re: ", 4) ? "Re: " : "") },
 		{ "subject", envelope->subject },
 		{ "messageID", envelope->messageID },
+		{ "<", "<" },
+		{ ">", ">" },
 		{0},
 	};
 	return templateURL(template, vars);
75630b281c780b3c7&follow=1'>Set TABSIZE=4June McEnroe Absolutely indiscriminately. 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe