CI(tidy-html): ignore empty tag, generating warning

This commit is contained in:
Tixie Salander 2024-06-09 17:27:41 +02:00
parent 66bb48aaa7
commit a2edf9bde5
No known key found for this signature in database

View file

@ -9,7 +9,7 @@ steps:
- wget -q https://github.com/htacg/tidy-html5/releases/download/5.8.0/tidy-5.8.0-Linux-64bit.deb - wget -q https://github.com/htacg/tidy-html5/releases/download/5.8.0/tidy-5.8.0-Linux-64bit.deb
- echo "59e594312207234f5a17455683c13c6bc47a89cb7bf994d493acfffb591d9830 tidy-5.8.0-Linux-64bit.deb" | sha256sum -c - echo "59e594312207234f5a17455683c13c6bc47a89cb7bf994d493acfffb591d9830 tidy-5.8.0-Linux-64bit.deb" | sha256sum -c
- DEBIAN_FRONTEND=noninteractive apt install -qq -y ./tidy-5.8.0-Linux-64bit.deb - DEBIAN_FRONTEND=noninteractive apt install -qq -y ./tidy-5.8.0-Linux-64bit.deb
- tidy -q -e static/index.html - tidy -q -e --drop-empty-elements no static/index.html
- name: disable SEO indexing (on preprod only) - name: disable SEO indexing (on preprod only)
when: when: