Commit 99fe51b4 authored by Yusei Tahara's avatar Yusei Tahara

catch warning message as failure.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18473 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 40448c29
......@@ -142,6 +142,8 @@ def validate_xhtml(source):
if len(data) >= 2:
if data[1].startswith('Error: '):
return False
elif data[1].startswith('Warning: '):
return False
return True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment