Skip to content

Commit 8839184

Browse files
committed
check-build-and-verify.sh: completely ignore language detection check from html5validator.
This change reverts the following commits: - 27d5637 - a09a3f5 - 0abdb81 Fix #783
1 parent aab156f commit 8839184

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,17 +171,16 @@ if [ "$RUN_ONLY_INTEGRATION_TESTS" = 'no' ]; then
171171

172172
if [ "$HTML_STATUS" != 'skip' ]; then
173173
# TODO: remove ignoring of error about alt attribute after resolving #314
174-
# TODO: remove ignoring of error about document language when it will be resolved in upstream
175174
# TODO: remove ignoring of error about Picked up _JAVA_OPTIONS when it will be resolved in upstream
176175
# @todo #109 Check src/main/config/nginx/503.*html by html5validator
177176
html5validator \
178177
--root src/main/webapp/WEB-INF/views \
178+
--no-langdetect \
179179
--ignore-re 'Attribute “(th|sec|togglz|xmlns):[a-z]+” not allowed' \
180180
'Attribute “(th|sec|togglz):[a-z]+” is not serializable' \
181181
'Attribute with the local name “xmlns:[a-z]+” is not serializable' \
182182
'An "img" element must have an "alt" attribute' \
183183
'The first child "option" element of a "select" element with a "required" attribute' \
184-
'This document appears to be written in (Danish|Lithuanian|French)' \
185184
'Element "option" without attribute "label" must not be empty' \
186185
'Picked up' \
187186
--show-warnings \

0 commit comments

Comments
 (0)