Skip to content

Commit a09a3f5

Browse files
committed
check-build-and-verify.sh: ignore html5validator error about document language.
Work around for svenkreiss/html5validator#32
1 parent 15e0625 commit a09a3f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/scripts/ci/check-build-and-verify.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@ if [ "$RUN_ONLY_INTEGRATION_TESTS" = 'no' ]; then
5252
mvn --batch-mode jasmine:test >jasmine.log 2>&1 || JASMINE_FAIL=yes
5353
# FIXME: add check for src/main/config/nginx/503.*html
5454
# TODO: remove ignoring of error about alt attribute after resolving #314
55+
# TODO: remove ignoring of error about document language when it will be resolved in upstream
5556
html5validator \
5657
--root src/main/webapp/WEB-INF/views \
5758
--ignore-re 'Attribute “(th|sec|togglz|xmlns):[a-z]+” not allowed' \
5859
'Attribute “(th|sec|togglz):[a-z]+” is not serializable' \
5960
'Attribute with the local name “xmlns:[a-z]+” is not serializable' \
6061
'An "img" element must have an "alt" attribute' \
6162
'The first child "option" element of a "select" element with a "required" attribute' \
63+
'This document appears to be written in Danish' \
6264
--show-warnings \
6365
>validator.log 2>&1 || HTML_FAIL=yes
6466
mvn --batch-mode enforcer:enforce >enforcer.log 2>&1 || ENFORCER_FAIL=yes

0 commit comments

Comments
 (0)