diff options
author | Daniel Jones <admin@danieljon.es> | 2020-01-19 02:15:43 +1030 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-01-19 02:15:43 +1030 |
commit | 9fcf5c7cd244c535467151661aa7bef95bfe7eaf (patch) | |
tree | 5783885d4548dfa6aa2470d4d9f1767b4d0fc2db | |
parent | 9db7764b60534521675886a6c335047a4f0b935c (diff) | |
download | websitegenerator-9fcf5c7cd244c535467151661aa7bef95bfe7eaf.tar.gz websitegenerator-9fcf5c7cd244c535467151661aa7bef95bfe7eaf.zip |
line break inside cdata..
-rw-r--r-- | pages.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |