2 ms·
It's kind of doing that already. Also HTML that is pasted from external sources (browsers, MS Office, etc.) gets "cannibalized" on pasting: https://github.com
by c-smile 5y ago
It's kind of doing that already.
Also HTML that is pasted from external sources (browsers, MS Office, etc.) gets "cannibalized" on pasting:
https://github.com/c-smile/sciter-sdk/blob/master/notepad/res/htmlview/canonicalize-dom.tis https://github.com/c-smile/sciter-sdk/blob/master/notepad/re...
with white listed tags and attributes.