diff options
-rw-r--r-- | sfeed.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -883,18 +883,17 @@ xmltagstart(XMLParser *p, const char *t, size_t tl) case RSSTagContentEncoded: case RSSTagDescription: tmpcontenttype = ContentTypeHTML; /* default content-type */ - ctx.iscontenttag = 1; break; case RSSTagMediaDescription: case AtomTagContent: case AtomTagMediaDescription: case AtomTagSummary: tmpcontenttype = ContentTypePlain; /* default content-type */ - ctx.iscontenttag = 1; break; default: break; } + ctx.iscontenttag = (fieldmap[ctx.tag.id] == FeedFieldContent); } static void |