Is your feature request related to a problem? Please describe.
Many modern HTML5 web pages use custom element names.
For example, reactormag.com uses <article-content>.
These are removed (keeping the contents) by WebToEpub's sanitize() function, specifically by DOMPurify.sanitize.
In this particular case, I can match against one of the element's children, which are not removed, but then I need to specify elements to remove.
Those custom elements names are not a security risk - they're just custom names, and in standard use. Is there a specific reason they are removed?
Is your feature request related to a problem? Please describe.
Many modern HTML5 web pages use custom element names.
For example, reactormag.com uses
<article-content>.These are removed (keeping the contents) by WebToEpub's
sanitize()function, specifically byDOMPurify.sanitize.In this particular case, I can match against one of the element's children, which are not removed, but then I need to specify elements to remove.
Those custom elements names are not a security risk - they're just custom names, and in standard use. Is there a specific reason they are removed?