I guess someone will soon be asking why it doesn't encode "A" to
"A".  :-p

My point is, the apostrophe is _usually_ safe in HTML and I'm thankful
for the filter doesn't encode it.  If I ever want to translate it to
"'", it's too easy to write my own filter.

-M.

Tosh Cooey wrote:
> Ha ha!  I have just come across a situation where I'm being bitten by 
> the same problem.
>
> I need to filter the ' or single quote, or apostrophe.
>
> "This isn't working"
>
> Needs to come out as:
>
> "This isn't working"
>
> But how, in an elegant way that doesn't require editing HTML::Entities 
> or creating my own filter.
>
> Or maybe my TT2 is using Apache::Util?  How do I force it to use 
> HTML::Entities?
>
> I'm a bit incoherent today, sorry.
>
> Tosh
>
>   


_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to