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
fix importing image captions, closes #2113
zadam3448eba7b971
diff --git a/src/services/html_sanitizer.js b/src/services/html_sanitizer.jsindex 362ad5b62c..2f434e6455 100644--- a/src/services/html_sanitizer.js+++ b/src/services/html_sanitizer.js@@ -8,7 +8,7 @@ function sanitize(dirtyHtml) {'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul', 'ol','li', 'b', 'i', 'strong', 'em', 'strike', 'abbr', 'code', 'hr', 'br', 'div','table', 'thead', 'caption', 'tbody', 'tr', 'th', 'td', 'pre', 'section', 'img',- 'figure', 'span', 'label', 'input'+ 'figure', 'figcaption', 'span', 'label', 'input'],allowedAttributes: {'a': [ 'href', 'class', 'data-note-path' ],