Skip to content

Commit 0abdb81

Browse files
committed
check-build-and-verify.sh: ignore another html5validator error about document language.
After a09a3f5 commit it has started to fail with another error on another file: WARNING:html5validator.validator:"file:/home/travis/build/php-coder/mystamps/src/main/webapp/WEB-INF/views/category/info.html":1.16-5.71: info warning: This document appears to be written in Lithuanian but the "html" start tag has "lang="en"". Consider using "lang="lt"" (or variant) instead. Work around for svenkreiss/html5validator#32
1 parent a09a3f5 commit 0abdb81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if [ "$RUN_ONLY_INTEGRATION_TESTS" = 'no' ]; then
6060
'Attribute with the local name “xmlns:[a-z]+” is not serializable' \
6161
'An "img" element must have an "alt" attribute' \
6262
'The first child "option" element of a "select" element with a "required" attribute' \
63-
'This document appears to be written in Danish' \
63+
'This document appears to be written in (Danish|Lithuanian)' \
6464
--show-warnings \
6565
>validator.log 2>&1 || HTML_FAIL=yes
6666
mvn --batch-mode enforcer:enforce >enforcer.log 2>&1 || ENFORCER_FAIL=yes

0 commit comments

Comments
 (0)