Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

core: fix import

Ammar Ahmede4f1f2bfa7c9
diff --git a/packages/core/src/utils/html-parser.ts b/packages/core/src/utils/html-parser.ts
index ebb99c630..6ebe08175 100644
--- a/packages/core/src/utils/html-parser.ts
+++ b/packages/core/src/utils/html-parser.ts
@@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
import { decodeHTML5, escape } from "entities";
import { Parser } from "htmlparser2";
-import { getDomPurify } from "./dom-purify";
+import { getDomPurify } from "./dom-purify.js";
export const parseHTML = (input: string) =>
"DOMParser" in globalThis