mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
Fix typos
Found via `codespell -S ./libraries,./package-lock.json -L tabel,tabels,uptodate,isnt,edn,falsy`
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user