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 sanitize id before comparison
thecodrr86268fba8fb6
diff --git a/packages/core/collections/tags.js b/packages/core/collections/tags.jsindex 4c2a72dae..3469543f2 100644--- a/packages/core/collections/tags.js+++ b/packages/core/collections/tags.js@@ -6,9 +6,7 @@ import setManipulator from "../utils/set";export default class Tags extends Collection {tag(id) {- const tagItem = this.all.find(- (t) => t.id === id || t.title === this.sanitize(id)- );+ const tagItem = this.all.find((t) => t.id === id || t.title === id);return tagItem;}