From 86e58607e734a5f8d7720f6c36aa50b043ae40b9 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 8 Nov 2023 18:29:49 -0500 Subject: [PATCH] run-tests.sh: new minimal test suite --- run-tests.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 run-tests.sh diff --git a/run-tests.sh b/run-tests.sh new file mode 100755 index 0000000..cf2d33e --- /dev/null +++ b/run-tests.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# +# html-tidy5 does not yet support the minlength attributes +# that we use on our daily security code inputs, +# +# https://github.com/htacg/tidy-html5/issues/1101 +# +# so we use sed to preprocess them out before calling tidy. +# +sed -e 's/minlength="[0-9]*"//g' index.html | tidy > /dev/null -- 2.43.2