Fix typos

Found via `codespell -S ./libraries,./package-lock.json -L tabel,tabels,uptodate,isnt,edn,falsy`
This commit is contained in:
Kian-Meng Ang
2023-06-23 00:26:47 +08:00
parent bbe3f436d3
commit 712304bbc6
27 changed files with 30 additions and 30 deletions

View File

@@ -99,7 +99,7 @@ function parseSelectedHtml(selectedHtml) {
if (dom.length > 0 && dom[0].tagName && dom[0].tagName.match(/h[1-6]/i)) {
const title = $(dom[0]).text();
// remove the title from content (only first occurence)
// remove the title from content (only first occurrence)
const content = selectedHtml.replace(dom[0].outerHTML, "");
return [title, content];