On Thu, Jul 9, 2009 at 3:16 PM, Bill Ward <[email protected]> wrote:

>
>
> On Thu, Jul 9, 2009 at 3:10 PM, Randal L. Schwartz 
> <[email protected]>wrote:
>
>> >>>>> "Bill" == Bill Moseley <[email protected]> writes:
>>
>>
>> Because that isn't what it's for.  It replaces the *essential* HTML
>> items (< & >) with their counterparts.
>>
>
> Well, " (&quot;) is just as core as those.... but ' (&apos;) is not, or at
> least wasn't historically.  Has &apos; made it into the core (X)HTML specs
> these days?  Anyway you probably should be using " not ' for the HTML
> attributes there, to avoid that problem...
>

Right, I assume the &quot; substitution is in the html filter for that
reason.

" and ' are both ok to use -- ignoring this current trouble.  If I use the
xml filter that escapes both then I'm ok using either quote delimiter.
Means I don't really have to think about which one I use in my templates.

Although the url filter seems aimed at hrefs, perhaps it would be better for
the <meta> tag as in my example?





(Sorry Randal about the direct email -- shocking that gmail doesn't have a
list reply feature.  It's a hard transision from Mutt.)


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

Reply via email to