summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfeed.c b/sfeed.c
index 43a0ca7..98b2bb5 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -706,7 +706,8 @@ xmlattr(XMLParser *p, const char *t, size_t tl, const char *n, size_t nl,
if (isattr(v, vl, STRP("html")) ||
isattr(v, vl, STRP("xhtml")) ||
isattr(v, vl, STRP("text/html")) ||
- isattr(v, vl, STRP("text/xhtml"))) {
+ isattr(v, vl, STRP("text/xhtml")) ||
+ isattr(v, vl, STRP("application/xhtml+xml"))) {
tmpcontenttype = ContentTypeHTML;
} else if (isattr(v, vl, STRP("text")) ||
isattr(v, vl, STRP("plain")) ||