summary refs log tree commit diff
path: root/atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'atom.c')
-rw-r--r--atom.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/atom.c b/atom.c
index 405bf39..b0ee921 100644
--- a/atom.c
+++ b/atom.c
@@ -88,7 +88,11 @@ int atomEntryOpen(FILE *file, const struct Envelope *envelope) {
 
 int atomContent(FILE *file, const char *content) {
 	const char *template = TEMPLATE(
-		<content type="text">[content]</content>
+		<content type="xhtml">
+			<div xmlns="http://www.w3.org/1999/xhtml">
+				<pre>[content]</pre>
+			</div>
+		</content>
 	);
 	struct Variable vars[] = {
 		{ "content", content },