diff options
author | June McEnroe <june@causal.agency> | 2020-04-26 15:16:14 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-26 15:16:14 -0400 |
commit | ec2452d8f7b850c702df5fb76d2571028202cd58 (patch) | |
tree | ab17c0e902d54cf716cd1350c358eedcd245ca4a | |
parent | Style index page (diff) | |
download | bubger-ec2452d8f7b850c702df5fb76d2571028202cd58.tar.gz bubger-ec2452d8f7b850c702df5fb76d2571028202cd58.zip |
Generate XHTML content in Atom entries
-rw-r--r-- | atom.c | 6 |
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 }, |