sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit af2d105e1e48c593e3536fecbd251671f81ccf9c
parent bf8859da400feb876100786df9ac339b48589529
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 28 Jun 2014 15:27:29 +0200

xml: fix attribute without data:

<input checked />

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Mxml.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/xml.c b/xml.c @@ -27,8 +27,7 @@ xmlparser_parseattrs(XMLParser *x) { if(isspace(c)) { /* TODO: simplify endname ? */ if(namelen) endname = 1; - else - continue; + continue; } if(c == '?') ; /* ignore */