enable to run tidy several times
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 7 Jan 2015 13:15:37 +0000 (13:15 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 7 Jan 2015 13:15:37 +0000 (13:15 +0000)
test/widgets/Makefile

index ec22408..e91e13c 100644 (file)
@@ -59,7 +59,7 @@ index-iframe-demo:
 tidy:
        for i in iframe-demos.html index-*.html; do \
            tidy -i -m $$i >/dev/null 2>&1; \
-           perl -i -npe 's,(</head>),<link type="text/css" rel="stylesheet" href="screenshots.css" />\n$$1,' $$i; \
+           perl -i -npe 's,(^\s*</head>),<link type="text/css" rel="stylesheet" href="screenshots.css" />\n$$1,' $$i; \
        done
 
 help: