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: use regex.exec instead of str.match
thecodrr62e692949f06
diff --git a/packages/core/content-types/tiny.js b/packages/core/content-types/tiny.jsindex 7ffc2f037..06e6c48a4 100644--- a/packages/core/content-types/tiny.js+++ b/packages/core/content-types/tiny.js@@ -118,7 +118,7 @@ class Tiny {break;}case "span": {- const matches = node.match(HASH_REGEX);+ const matches = HASH_REGEX.exec(node);if (!matches) continue;const [_match, hash] = matches;attachments.push({ hash });