Fix so None doesn't ever get added to result list, which screws up the parser.
This commit is contained in:
parent
24a7205d3a
commit
1ecad1a00c
|
@ -32,7 +32,7 @@ class Html_nuker( HTMLParser ):
|
||||||
"lt": "<",
|
"lt": "<",
|
||||||
"gt": ">",
|
"gt": ">",
|
||||||
"quot": '"',
|
"quot": '"',
|
||||||
}.get ( ref ) )
|
}.get ( ref, "" ) )
|
||||||
|
|
||||||
def handle_comment( self, comment ):
|
def handle_comment( self, comment ):
|
||||||
pass
|
pass
|
||||||
|
|
Reference in New Issue