diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2019-06-17 22:57:21 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2019-06-17 22:57:21 +0200 |
commit | f578062c498b7fba33328c813a736e13c28ea372 (patch) | |
tree | 9a33b70303ba3e360f22eab495e52f26c8141d53 | |
parent | 48aa9d406a9f961f3ab1b56ae38a20950f505588 (diff) |
sfeed: optimization: xmlattr: when not in some RSS/Atom tag skip further checks
-rw-r--r-- | sfeed.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -609,7 +609,7 @@ xmlattr(XMLParser *p, const char *t, size_t tl, const char *n, size_t nl, return; } - if (ctx.feedtype == FeedTypeNone) + if (!ctx.tagid) return; /* content-type may be: Atom: text, xhtml, html or mime-type. |