2 ms·
> You could also in theory just restrict which HTML elements can be used. That’s not enough, because you also have to restrict what attributes they may carry (
by layer8 3y ago
> You could also in theory just restrict which HTML elements can be used.
That’s not enough, because you also have to restrict what attributes they may carry (inline styles, event handlers), the type of meta tags and image formats, and so on.
But in any case, such a restricted subset was what I was already presuming in my comment.
- PaulDavisThe1st 3y agoYou don't have to restrict them at all. You just ignore them.
- layer8 3y agoThat's what is meant by restricting.