mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
Ignoring html5validator only appearing on Travis CI
This commit is contained in:
parent
e3a7bd2041
commit
36154b2616
@ -1,5 +1,9 @@
|
|||||||
language: python
|
language: python
|
||||||
python: 3.6
|
python: 3.6
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- "$HOME/.cache/pip"
|
||||||
|
- node_modules
|
||||||
install:
|
install:
|
||||||
- ./run.sh install
|
- ./run.sh install
|
||||||
- ./run.sh install_dev
|
- ./run.sh install_dev
|
||||||
|
2
run.sh
2
run.sh
@ -33,7 +33,7 @@ test_ludochaordic () {
|
|||||||
# Too many missing img alt attributes in thoses:
|
# Too many missing img alt attributes in thoses:
|
||||||
rm output/street-art-and-hedonogeolostism-in-london.html output/variante-2-joueurs-pour-bang-le-jeu-de-des.html
|
rm output/street-art-and-hedonogeolostism-in-london.html output/variante-2-joueurs-pour-bang-le-jeu-de-des.html
|
||||||
|
|
||||||
html5validator --root output/ --ignore-re='.*(Element "style" not allowed as child of element.*|Text not allowed in element "iframe" in this context.|Attribute "allow" not allowed on element "iframe" at this point.|No "p" element in scope but a "p" end tag seen.|End tag "p" implied, but there were open elements.|Unclosed element "a".|End tag "div" seen, but there were open elements.)' # issue with pelican renderer: <p> contains legally only inline-/inline-block-elements
|
html5validator --root output/ --ignore-re='.*(Element "eof" not allowed as child of element "p" in this context.|Element "style" not allowed as child of element.*|Text not allowed in element "iframe" in this context.|Attribute "allow" not allowed on element "iframe" at this point.|No "p" element in scope but a "p" end tag seen.|End tag "p" implied, but there were open elements.|Unclosed element "a".|End tag "div" seen, but there were open elements.)' # issue with pelican renderer: <p> contains legally only inline-/inline-block-elements
|
||||||
|
|
||||||
cp ../pelican-mg/.htmlhintrc output/
|
cp ../pelican-mg/.htmlhintrc output/
|
||||||
htmlhint output/
|
htmlhint output/
|
||||||
|
Loading…
Reference in New Issue
Block a user