excempt svg from html5validator
authorMoritz Warning <moritzwarning@web.de>
Thu, 20 Aug 2020 07:53:32 +0000 (09:53 +0200)
committerPetr Štetiar <ynezz@true.cz>
Thu, 20 Aug 2020 07:53:32 +0000 (09:53 +0200)
The error message refers to a missing 'lang' attribute of a non existing
html tag, both of which is not applicable to a svg file.

.gitlab-ci.yml

index a7c5a87aaf08342b7075efee6e672f6c12f0f558..15ca6340c0ffb887c5137091bc35aa53e54a9b26 100644 (file)
@@ -21,7 +21,7 @@ check HTML, CSS and SVG with html5validator:
   stage: pre-build
   image: cyb3rjak3/html5validator:latest
   script:
-    - html5validator --root www --also-check-css --also-check-svg --show-warnings --log INFO
+    - html5validator --root www --also-check-css --show-warnings --log INFO
 
 .build python:
   stage: pre-build