Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Fixed Minor Issues
stexz01ec236d9381e8
diff --git a/apps/client/src/services/utils.ts b/apps/client/src/services/utils.tsindex bc35a0bd3f..f3e32b1849 100644--- a/apps/client/src/services/utils.ts+++ b/apps/client/src/services/utils.ts@@ -292,6 +292,7 @@ export function isHtmlEmpty(html: string) {return (!html.includes("<img") &&!html.includes("<section") &&+ !html.includes("link-mention") &&// the line below will actually attempt to load images so better to check for images first$("<div>").html(html).text().trim().length === 0);