summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-01-19 02:15:43 +1030
committerDaniel Jones <admin@danieljon.es>2020-01-19 02:15:43 +1030
commit9fcf5c7cd244c535467151661aa7bef95bfe7eaf (patch)
tree5783885d4548dfa6aa2470d4d9f1767b4d0fc2db
parent9db7764b60534521675886a6c335047a4f0b935c (diff)
downloadwebsitegenerator-9fcf5c7cd244c535467151661aa7bef95bfe7eaf.tar.gz
websitegenerator-9fcf5c7cd244c535467151661aa7bef95bfe7eaf.zip
line break inside cdata..
-rw-r--r--pages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages.c b/pages.c
index bb346d5..9d4e06a 100644
--- a/pages.c
+++ b/pages.c
@@ -872,7 +872,7 @@ writerss(FILE *out, int post)
//printf("title is: %s date is: %s: desc is: %s\n", title, date, description);
if (hasimg)
{
- snprintf(item, 8195, "<item>\n\t<title>%s</title>\n\t<pubDate>%s</pubDate>\n\t<author>%s</author>\n\t<link>https://danieljon.es/posts/direct/%d</link>\n\t<guid>https://danieljon.es/posts/direct/%d</guid>\n\t<description>%s\n<br><![CDATA[%s]]> </description>\n</item>\n", title, date, author_string, post, post, description, image);
+ snprintf(item, 8195, "<item>\n\t<title>%s</title>\n\t<pubDate>%s</pubDate>\n\t<author>%s</author>\n\t<link>https://danieljon.es/posts/direct/%d</link>\n\t<guid>https://danieljon.es/posts/direct/%d</guid>\n\t<description>%s\n<![CDATA[<br>%s]]> </description>\n</item>\n", title, date, author_string, post, post, description, image);
}
else
{