diff --git a/src/w3c/templates/headers.js b/src/w3c/templates/headers.js index 5b91886d58..8a54e93c3f 100644 --- a/src/w3c/templates/headers.js +++ b/src/w3c/templates/headers.js @@ -234,7 +234,7 @@ export default (conf, options) => { ? html`

See also translations. diff --git a/tests/spec/w3c/headers-spec.js b/tests/spec/w3c/headers-spec.js index 13493bd384..aa3facd351 100644 --- a/tests/spec/w3c/headers-spec.js +++ b/tests/spec/w3c/headers-spec.js @@ -1962,7 +1962,7 @@ describe("W3C — Headers", () => { Object.assign(ops.config, newProps); const doc = await makeRSDoc(ops); const aElem = doc.querySelector( - `a[href^="http://www.w3.org/2003/03/Translations/"]` + `a[href^="https://www.w3.org/Translations/"]` ); expect(aElem.href.endsWith("PASS")).toBeTruthy(); const textContent = aElem.parentElement.textContent @@ -1980,7 +1980,7 @@ describe("W3C — Headers", () => { Object.assign(ops.config, newProps); const doc = await makeRSDoc(ops); const aElem = doc.querySelector( - `a[href^="http://www.w3.org/2003/03/Translations/"]` + `a[href^="https://www.w3.org/Translations/"]` ); expect(aElem).toBeNull(); });