3 ms·
There's honestly no such thing as "safe HTML". It's all very contextual. It can be safe in one context and unsafe in another. So trying to type it is futile. I
by slver 5y ago
There's honestly no such thing as "safe HTML". It's all very contextual. It can be safe in one context and unsafe in another. So trying to type it is futile.
I've seen similar attempts with "taint flags" and what not. They fall very short in practice.