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: decode html5 escape codes
thecodrr0a75048f684a
diff --git a/packages/core/utils/html-parser.js b/packages/core/utils/html-parser.jsindex 574c4ddb0..64755bde3 100644--- a/packages/core/utils/html-parser.js+++ b/packages/core/utils/html-parser.js@@ -1,4 +1,5 @@import { parse } from "node-html-parser";+import { decodeHTML5 } from "entities";export const parseHTML =typeof DOMParser === "undefined"@@ -11,5 +12,5 @@ export function getDummyDocument() {}export function getInnerText(element) {- return element.innerText || element.textContent;+ return decodeHTML5(element.innerText || element.textContent);}