summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-01-19 02:13:26 +1030
committerDaniel Jones <admin@danieljon.es>2020-01-19 02:13:26 +1030
commit9db7764b60534521675886a6c335047a4f0b935c (patch)
tree029a74a5a58425f0b8cf419b1b07c94af0ecc133
parent81633c97a89de0f044c1cfdf97f945e21ca17ca7 (diff)
downloadwebsitegenerator-9db7764b60534521675886a6c335047a4f0b935c.tar.gz
websitegenerator-9db7764b60534521675886a6c335047a4f0b935c.zip
add line break to images
-rw-r--r--pages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages.c b/pages.c
index 9cc5868..bb346d5 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<![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<br><![CDATA[%s]]> </description>\n</item>\n", title, date, author_string, post, post, description, image);
}
else
{