On Thu, 09 Jul 2009 12:48 -0700, "Sean McAfee" wrote:
> On Thu, Jul 9, 2009 at 3:39 PM, Larry Leszczynski
> wrote:
>
> > Hi Bill -
> >
> > On Thu, 09 Jul 2009 11:31 -0700, "Bill Moseley"
> > wrote:
> > > " and ' are both ok to use
> >
> > Ok in HTML but not XHTML. XHTML says you *must* use do
On Thu, Jul 9, 2009 at 3:39 PM, Larry Leszczynski wrote:
> Hi Bill -
>
> On Thu, 09 Jul 2009 11:31 -0700, "Bill Moseley"
> wrote:
> > " and ' are both ok to use
>
> Ok in HTML but not XHTML. XHTML says you *must* use double quotes
> around your attribute values, single quotes are not ok. So thi
Hi Bill -
On Thu, 09 Jul 2009 11:31 -0700, "Bill Moseley"
wrote:
> On Thu, Jul 9, 2009 at 3:16 PM, Bill Ward wrote:
>
> > Anyway you probably should be using " not ' for the HTML
> > attributes there, to avoid that problem...
>
> [cut]
>
> " and ' are both ok to use
Ok in HTML but not XHTML.
On Thu, Jul 9, 2009 at 3:16 PM, Bill Ward wrote:
>
>
> On Thu, Jul 9, 2009 at 3:10 PM, Randal L. Schwartz
> wrote:
>
>> > "Bill" == Bill Moseley writes:
>>
>>
>> Because that isn't what it's for. It replaces the *essential* HTML
>> items (< & >) with their counterparts.
>>
>
> Well, " (")
On Thu, Jul 9, 2009 at 3:10 PM, Randal L. Schwartz wrote:
> > "Bill" == Bill Moseley writes:
>
> Bill> [%
> Bill> value = meta.value | html;
> Bill> key = meta.key | html;
> Bill> "";
> Bill> %]
>
> Bill> And $value had a single quote.
>
> Bill> Is there a reason why replacing single quotes
> "Bill" == Bill Moseley writes:
Bill> [%
Bill> value = meta.value | html;
Bill> key = meta.key | html;
Bill> "";
Bill> %]
Bill> And $value had a single quote.
Bill> Is there a reason why replacing single quotes with ' would not be
Bill> desired with the html filter?
Because that isn't wh
Funny timing. I noticed the recent addition of this new filter, then
someone on the Catalyst list asked about escaping single quotes, then I got
an error because I was doing:
[%
value = meta.value | html;
key = meta.key | html;
"";
%]
And $value had a single quote.
Is there a reason why replac