summaryrefslogtreecommitdiff
path: root/sfeed.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2012-08-17 21:15:01 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2012-08-17 21:15:01 +0200
commit17e42efaca7d14a3ad44deab4c4507bae16fe7c3 (patch)
tree0ba8921ebea614946f190f6ea46f84427278ef5d /sfeed.c
parentc0adf80f0233db547ed2726fbcde42ce3ea8656c (diff)
forgot to add content:encoded check in data handler
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat (limited to 'sfeed.c')
-rw-r--r--sfeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed.c b/sfeed.c
index a760d2e..04a0f5e 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -375,7 +375,7 @@ xml_handler_data(void *data, const XML_Char *s, int len) {
string_append(&feeditem.title, s, len);
else if(istag(feeditemtag, "link"))
string_append(&feeditem.link, s, len);
- else if(istag(feeditemtag, "description")) {
+ else if(istag(feeditemtag, "description") || istag(feeditemtag, "content:encoded")) {
if(incdata)
XML_DefaultCurrent(parser); /* pass to default handler to process inline HTML etc */
else