1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-22 01:14:21 +01:00

adding a fffew other exception in tidylib

This commit is contained in:
kakwa 2019-02-09 19:04:40 +01:00
parent abfce4803a
commit c5536bdc56

View File

@ -85,6 +85,14 @@ def _is_html_error(line):
r'.*Warning: trimming empty <span>.*', r'.*Warning: trimming empty <span>.*',
r'.*Error: <nav> is not recognized!.*', r'.*Error: <nav> is not recognized!.*',
r'.*Warning: discarding unexpected <nav>.*', r'.*Warning: discarding unexpected <nav>.*',
r'.*Warning: discarding unexpected </nav>.*',
r'.*Warning: <meta> proprietary attribute "charset".*',
r'.*Warning: <meta> lacks "content" attribute.*',
r'.*Warning: <link> inserting "type" attribute.*',
r'.*Warning: <link> proprietary attribute.*',
r'.*Warning: <button> proprietary attribute.*',
r'.*Warning: <form> proprietary attribute.*',
r'.*Warning: <table> lacks "summary" attribute.*',
r'.*testing: good.*', r'.*testing: good.*',
]: ]:
if re.match(p, line): if re.match(p, line):