feeds: fix bug when deleting attr in html
parent
6a0531ca03
commit
59ef5af9e2
|
@ -401,7 +401,8 @@ class ParserXML(ParserBase):
|
|||
return
|
||||
|
||||
elif key is not None:
|
||||
del x.attrib[key]
|
||||
if key in match.attrib:
|
||||
del match.attrib[key]
|
||||
|
||||
else:
|
||||
match.getparent().remove(match)
|
||||
|
|
Loading…
Reference in New Issue