From 4908cf9d79ffb23e7063c9a5a2cf79ac77c794e4 Mon Sep 17 00:00:00 2001 From: Lucas Cimon Date: Sat, 17 Feb 2018 23:25:18 +0100 Subject: [PATCH] Fixing --ignore-re pattern --- run.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/run.sh b/run.sh index 7d39792..acf8143 100755 --- a/run.sh +++ b/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:

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:

contains legally only inline-/inline-block-elements cp ../pelican-mg/.htmlhintrc output/ htmlhint output/