feeds: fix bug when deleting attr in html
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user