From e56023afced93d5620a07fcbdfc0075d1016ba14 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 22 Sep 2022 16:36:44 +1000 Subject: refactor editHtml --- content/externalLicenseChecker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content') diff --git a/content/externalLicenseChecker.js b/content/externalLicenseChecker.js index 91377b3..cfcc897 100644 --- a/content/externalLicenseChecker.js +++ b/content/externalLicenseChecker.js @@ -37,7 +37,7 @@ if (!response.ok) throw `${response.status} ${response.statusText}`; const doc = new DOMParser().parseFromString( await response.text(), - "text/html" + 'text/html' ); const link = a => ({ url: a.href, label: a.textContent }); const firstLink = parent => link(parent.querySelector("a")); -- cgit v1.2.3