Unescaped ampersands are never valid in HTML properties. Escaped ones should
work just as well, and do conform to the spec.
On Thu, May 6, 2010 at 2:42 PM, Amy L <[email protected]> wrote:

> Gah. The first example should have read:
>
>     <a href="<%= url_for(:controller => 'somecontroller', :action =>
> 'someaction', :foo => 'bar', :moo => 'cow') %>">Click me</a>
>
> On Thu, May 6, 2010 at 2:41 PM, Amy L <[email protected]> wrote:
>
>> ...
>>
> I'm using Rails 2.3.5. And when I write into an ERb template:
>>
>>     <a href="url_for(:controller => 'somecontroller', :action =>
>> 'someaction', :foo => 'bar', :moo => 'cow')">Click me</a>
>> ...
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to