Re: [w3c/clipboard-apis] Make async clipboard APIs (read/write) to sanitize interoperably with setData/getData for text/html (#150)

> @snianu thanks for tackling this! Could you detail step 1 a bit more? If I do something like `document.body.innerHTML = "<meta><style>test</style>"` it shows that the fragment parser is also capable of preserving certain elements so I'd like to see more detail on the exact problem and also the proposed solution (e.g., what's a fragment comment tag?).

Presumably `<!--StartFragment-->` and `<!--EndFragment-->` were meant, see https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa767917(v=vs.85).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/150#issuecomment-915054215

Received on Wednesday, 8 September 2021 09:04:38 UTC