We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd2e6ff commit 8100c85Copy full SHA for 8100c85
1 file changed
test/test.js
@@ -38,7 +38,7 @@ changedFilesArray.forEach((filename, i) => {
38
// Send as HTML to ensure validator checks properly.
39
// Replace newlines with spaces.
40
// https://github.com/validator/validator/wiki/Service-%C2%BB-Input-%C2%BB-POST-body
41
- await fetch("https://validator.w3.org/nu/?out=gnu", {
+ await fetch("https://validator.nu/?out=gnu", {
42
method: "POST",
43
body: '<!doctype html><html lang=en><title>A</title>' + fs.readFileSync(filepath, "utf8").replaceAll("\n", " "),
44
headers: {"Content-Type": "text/html; charset=utf-8"}
0 commit comments