From 908e0a34a93416fa51022fb4622a24182aac078e Mon Sep 17 00:00:00 2001 From: Sebastian 'gonX' Jensen Date: Mon, 31 Aug 2026 12:51:21 +0200 Subject: [PATCH] HTML-Proofer: Ignore status code 0 At least 1 website has been observed occassionally throwing this despite the page existing. This causes tests to fail in otherwise good PR's --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 0f13c4e..a280287 100644 --- a/Rakefile +++ b/Rakefile @@ -17,7 +17,7 @@ task :htmlproofer do check_external_hash: false, # status code 418 is sometimes returned by webservers performing anti-scrape methods, so it # should assume the resource exists instead - ignore_status_codes: [ 418 ], + ignore_status_codes: [ 418, 0 ], } HTMLProofer.check_directory(compiledSitePath, options).run