[ic] HTML Special Entities

Stefan Hornburg (Racke) racke at linuxia.de
Thu May 13 08:02:26 UTC 2010


On 05/12/2010 04:51 PM, Jon Jensen wrote:
> On Wed, 12 May 2010, Stefan Hornburg (Racke) wrote:
>
>> we are working on getting a site properly HTML validated. One of the
>> problems are menus or categories from the database containing an
>> ampersand like Dungeons & Dragons.
>>
>> I wrote the following filter for this and the other HTML special
>> entities:
>
> Isn't that what the encode_entities filter is for?
>

This filter encodes way too much.

Regards
           Racke



-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




More information about the interchange-users mailing list