diff options
-rwxr-xr-x | t.validate-xhtml | 2 | ||||
-rwxr-xr-x | t.validate-xhtml10 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/t.validate-xhtml b/t.validate-xhtml index 8eeafcc6..ea3eede4 100755 --- a/t.validate-xhtml +++ b/t.validate-xhtml @@ -20,7 +20,7 @@ for i in "${srcdir}"/*.html ; do */Mailbox-Names-UTF7.html) ;; *) continue ;; esac - xmllint --postvalid --noout "$i" || { e=1 ; fail="$i${fail:+" "}$fail" ; } + xmllint --nonet --postvalid --noout "$i" || { e=1 ; fail="$i${fail:+" "}$fail" ; } done if [ $e != 0 ] ; then echo >&2 ">>>>> Invalid XHTML in files: ${fail}." diff --git a/t.validate-xhtml10 b/t.validate-xhtml10 index a7cc9e6b..2d36efdf 100755 --- a/t.validate-xhtml10 +++ b/t.validate-xhtml10 @@ -20,7 +20,7 @@ for i in "${srcdir}"/*.html ; do */fetchmail-man.html) continue ;; */Mailbox-Names-UTF7.html) continue ;; esac - xmllint --postvalid --noout "$i" || { e=1 ; fail="$i${fail:+" "}$fail" ; } + xmllint --nonet --postvalid --noout "$i" || { e=1 ; fail="$i${fail:+" "}$fail" ; } done if [ $e != 0 ] ; then echo >&2 ">>>>> Invalid XHTML in files: ${fail}." |