A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: do not use doc.body
thecodrr706007e0fa25
diff --git a/packages/core/content-types/tiny.js b/packages/core/content-types/tiny.jsindex 352c0ee37..bdd7576a8 100644--- a/packages/core/content-types/tiny.js+++ b/packages/core/content-types/tiny.js@@ -20,7 +20,7 @@ class Tiny {let doc = HTMLParser.createElement("div");doc.innerHTML = this.data;- return doc.body.textContent.trim();+ return doc.textContent.trim();}toMD() {