Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 539168d

Browse files
committed
sanitizeStr screws html error parsing in some cases as new lines are removed (FALSE positives here and there)
1 parent bb6e36f commit 539168d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/parse/html.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
from lib.core.common import checkFile
1515
from lib.core.common import parseXmlFile
16-
from lib.core.common import sanitizeStr
1716
from lib.core.data import kb
1817
from lib.core.data import paths
1918
from lib.core.threads import getCurrentThreadData
@@ -56,7 +55,6 @@ def htmlParser(page):
5655

5756
xmlfile = paths.ERRORS_XML
5857
checkFile(xmlfile)
59-
page = sanitizeStr(page)
6058
handler = htmlHandler(page)
6159

6260
parseXmlFile(xmlfile, handler)

0 commit comments

Comments
 (0)