summary refs log tree commit diff
path: root/atom.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--atom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/atom.c b/atom.c
index 3ecebbc..ddfb3f6 100644
--- a/atom.c
+++ b/atom.c
@@ -38,7 +38,7 @@ static char *atomID(const struct Envelope *envelope) {
 		{ "messageID", envelope->messageID },
 		{0},
 	};
-	return templateURL("mid:[messageID]", vars);
+	return templateString("mid:[messageID]", vars, escapeURL);
 }
 
 static int atomAuthor(FILE *file, struct Address addr) {
@@ -63,7 +63,7 @@ static char *atomEntryURL(const struct Envelope *envelope) {
 		{ "type", "mbox" },
 		{0},
 	};
-	return templateURL("/" PATH_MESSAGE, vars);
+	return templateString("/" PATH_MESSAGE, vars, escapeURL);
 }
 
 static const char *atomUpdated(time_t time) {
@@ -123,7 +123,7 @@ static char *atomThreadURL(const struct Envelope *envelope, const char *type) {
 		{ "type", type },
 		{0},
 	};
-	return templateURL("/" PATH_THREAD, vars);
+	return templateString("/" PATH_THREAD, vars, escapeURL);
 }
 
 int atomThreadOpen(FILE *file, const struct Envelope *envelope) {
4093b4ab96a417227e7bda5cfc8f1213c&follow=1'>Support insert mode in shottyJune McEnroe 2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe