Re: ENT_ALL or similar option for htmlspecialchars[_decode]?
Hi Kris,
2013/6/27 Kris Craig <[email protected]>
> Yeah I tried html_entity_decode already, but it just returned NULL. On
> the same input string, htmlspecialchars_decode returned the input string
> but with *some* special characters decoded; 10 and 13 ("\r\n", I think)
> were left in their encoded state. I'm not sure why there wouldn't be an
> option to decode all html special characters.
>
Not only HTML entities, we really needs to add several decoder/encoder to
core.
For instance, Javascript \uXXXX, HTML &#XX/&#XXXX, etc.
I hope someone is working on it :)
Regards,
--
Yasuo Ohgaki
[email protected]
Thread (10 messages)