Fixing --ignore-re pattern
This commit is contained in:
parent
841c3bfaad
commit
4908cf9d79
5
run.sh
5
run.sh
|
@ -35,10 +35,7 @@ test_ludochaordic () {
|
|||
# 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
|
||||
|
||||
html5validator --root output/ \
|
||||
--ignore-re='Element "style" not allowed as child of element' \
|
||||
--ignore-re='Text not allowed in element "iframe" in this context' \
|
||||
--ignore-re='No "p" element in scope but a "p" end tag seen.' # issue with pelican renderer: <p> contains legally only inline-/inline-block-elements
|
||||
html5validator --root output/ --ignore-re='.*(Element "style" not allowed as child of element.*|Text not allowed in element "iframe" in this context.|No "p" element in scope but a "p" end tag seen.)' # issue with pelican renderer: <p> contains legally only inline-/inline-block-elements
|
||||
|
||||
cp ../pelican-mg/.htmlhintrc output/
|
||||
htmlhint output/
|
||||
|
|
Loading…
Reference in New Issue