From 539168dccac0c19fe97302ddec1de7dd048b47ba Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 27 Jan 2011 13:40:42 +0000 Subject: [PATCH] sanitizeStr screws html error parsing in some cases as new lines are removed (FALSE positives here and there) --- lib/parse/html.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/parse/html.py b/lib/parse/html.py index c29aa1947..10405251c 100644 --- a/lib/parse/html.py +++ b/lib/parse/html.py @@ -13,7 +13,6 @@ from xml.sax.handler import ContentHandler from lib.core.common import checkFile from lib.core.common import parseXmlFile -from lib.core.common import sanitizeStr from lib.core.data import kb from lib.core.data import paths from lib.core.threads import getCurrentThreadData @@ -56,7 +55,6 @@ def htmlParser(page): xmlfile = paths.ERRORS_XML checkFile(xmlfile) - page = sanitizeStr(page) handler = htmlHandler(page) parseXmlFile(xmlfile, handler)