Replies: 1 comment 1 reply
-
Found https://github.com/TriliumNext/Notes/blob/develop/src/services/html_sanitizer.ts#L28. White and blacklist look straightforward, now to create an enhancement to make these user configureable (or a portion of them, e.g. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When importing html files a lot of tags are stripped. For the most part, that's a feature! However some of them I'd like to retain, top of mind for me at the moment is
<cite>
I use and rely on that a lot.Where in the import machinery is the logic for what tags are kept and which discarded? Can we "whitelist" more tags to be retained? (I'm happy for styles to continue to be dropped.)
Beta Was this translation helpful? Give feedback.
All reactions