Output RSS feed data using CDATA blocks
authorArt Cancro <ajc@uncensored.citadel.org>
Wed, 25 May 2011 21:56:54 +0000 (17:56 -0400)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 20:53:32 +0000 (20:53 +0000)
webcit/feed_generator.c

index 021a236e2c0547aaa8bb19d55df0c50033faee9a..e30e481a935b6a495adbcd5cb5085213496754d9 100644 (file)
@@ -44,7 +44,7 @@ void feed_rss_one_message(long msgnum) {
 
        while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
                if (in_body) {
-                       escputs(buf);                   /* FIXME we want a CDATA block instead */
+                       cdataout(buf);
                        wc_printf("\r\n");
                }
                else if (!strncasecmp(buf, "subj=", 5)) {