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: if hash is null, skip attachment
thecodrr10d4837de82c
diff --git a/packages/core/content-types/tiny.js b/packages/core/content-types/tiny.jsindex 1f9e4d9d0..caccbfe5f 100644--- a/packages/core/content-types/tiny.js+++ b/packages/core/content-types/tiny.js@@ -66,6 +66,7 @@ class Tiny {switch (attachment.tagName) {case "IMG": {const hash = getDatasetAttribute(attachment, "hash");+ if (!hash) continue;const src = await getData(hash, {total: attachmentElements.length,