mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 02:34:31 +01:00
adding exception for <nav> tags in html validation
This commit is contained in:
parent
a56c491ee1
commit
f13961790f
@ -82,7 +82,10 @@ class HtmlValidationFailed(Exception):
|
||||
|
||||
def _is_html_error(line):
|
||||
ret = True
|
||||
for p in [r'.*Warning: trimming empty <span>.*']:
|
||||
for p in [
|
||||
r'.*Warning: trimming empty <span>.*',
|
||||
r'.*Error: <nav> is not recognized!.*'
|
||||
]:
|
||||
if re.match(p, line):
|
||||
ret = False
|
||||
return ret
|
||||
|
Loading…
Reference in New Issue
Block a user