To be XHTML-compliant, ampersands need to be escaped in URLs.  Are you 
using HTML 4?

Sean

Wolf wrote:
> Hi,
>
> %a{ :href => 'www.xyz.com/test.php?a=1&b=2' }
>
> is converted to
>
> <a href="www.xyz.com/test.php?a=1&amp;b=2">
>
> How can I prevent HAML from escaping "&" to "&amp;" ?
>
> Thanks,
> Wolf
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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