Re: ENT_ALL or similar option for htmlspecialchars[_decode]?
On Thu, Jun 27, 2013 at 6:43 PM, Yasuo Ohgaki <[email protected]> wrote:
> 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 :)
>
Would you be interested in co-authoring an RFC with me for this?
--Kris
Thread (10 messages)