readabilite: handle another weird html stuff
This commit is contained in:
		@@ -187,7 +187,7 @@ def clean_node(node):
 | 
				
			|||||||
        return
 | 
					        return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # remove comments
 | 
					    # remove comments
 | 
				
			||||||
    if isinstance(node, lxml.html.HtmlComment):
 | 
					    if isinstance(node, lxml.html.HtmlComment) or isinstance(node, lxml.html.HtmlProcessingInstruction):
 | 
				
			||||||
        parent.remove(node)
 | 
					        parent.remove(node)
 | 
				
			||||||
        return
 | 
					        return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user