From 1ecad1a00cabef8d2002c8b9fecead44c0f8b82f Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 19 Jul 2007 19:06:22 +0000 Subject: [PATCH] Fix so None doesn't ever get added to result list, which screws up the parser. --- controller/Html_nuker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/Html_nuker.py b/controller/Html_nuker.py index 225f3e9..5274bde 100644 --- a/controller/Html_nuker.py +++ b/controller/Html_nuker.py @@ -32,7 +32,7 @@ class Html_nuker( HTMLParser ): "lt": "<", "gt": ">", "quot": '"', - }.get ( ref ) ) + }.get ( ref, "" ) ) def handle_comment( self, comment ): pass