From 62f17889aed9a0488173d16f28adcefa41daa204 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 13 Apr 2020 15:04:09 -0400 Subject: Use in Atom The
 thing would require the text to be
escaped twice...
---
 atom.c | 20 ++------------------
 1 file changed, 2 insertions(+), 18 deletions(-)

diff --git a/atom.c b/atom.c
index 80639a3..d3463ce 100644
--- a/atom.c
+++ b/atom.c
@@ -72,27 +72,11 @@ int atomEntryOpen(FILE *file, const struct Envelope *envelope) {
 }
 
 int atomContentOpen(FILE *file) {
-	const char *template = TEMPLATE(
-		
-		[
]
-	);
-	struct Variable vars[] = {
-		{ "
", "
" },
-		{0},
-	};
-	return templateRender(file, template, vars, escapeXML);
+	return templateRender(file, TEMPLATE(), NULL, NULL);
 }
 
 int atomContentClose(FILE *file) {
-	const char *template = TEMPLATE(
-		[
] - - ); - struct Variable vars[] = { - { "
", "
" }, - {0}, - }; - return templateRender(file, template, vars, escapeXML); + return templateRender(file, TEMPLATE(
), NULL, NULL); } int atomEntryClose(FILE *file) { -- cgit 1.4.1