diff options
author | Yuchen Pei <hi@ypei.me> | 2022-09-22 16:36:44 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-09-22 16:36:44 +1000 |
commit | e56023afced93d5620a07fcbdfc0075d1016ba14 (patch) | |
tree | 5dc945b5e6938f1064af1901d8d43a4e402172d8 /content | |
parent | 864ebd557dfba12c8b1a5c28d66436b506ecba2d (diff) |
refactor editHtml
Diffstat (limited to 'content')
-rw-r--r-- | content/externalLicenseChecker.js | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |