ssnail

crappy and opinionated static site generator
git clone https://git.e1e0.net/ssnail.git
Log | Files | Refs | README | LICENSE

commit 21a0ec1711b660cc6d377b01b9cd9304b757f2ea
parent 707bcf5ba7dc8eb2540d83d108b441e8a2efc7d5
Author: Paco Esteban <paco@e1e0.net>
Date:   Wed,  1 Jul 2020 17:28:16 +0200

rss: item description need the CDATA tag

Diffstat:
Mssnail.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ssnail.c b/ssnail.c @@ -613,7 +613,7 @@ add_rss_entry(char **rss_listing, struct article *a, char *url) "<author>%s</author>\n" "<title>%s</title>\n" "<pubDate>%s</pubDate>\n" - "<description>\n%s\n</description>\n" + "<description><![CDATA[\n%s\n]]></description>\n" "</item>\n"; if (strptime(a->date, "%Y-%m-%d", &timeinfo) == NULL)