Very strange haml behavior , display fine w html.erb , not in html.haml

when I display in an html page :

    <div class="contact_map">
    <iframe width="276" height="180" frameborder="0" scrolling="no"

marginheight=“0” marginwidth=“0” src=“Google Maps?
ie=UTF8&f=q&source=s_q&hl=en&geocode=&q=crach,
+morbihan,
+56950,+france&aq=&sll=37.0625,-95.677068&sspn=37.325633,62.050781&vpsrc=0&ie=UTF8&hq=&hnear=Crac’h,
+Morbihan,+Brittany,
+France&t=m&z=12&ll=47.616486,-3.000283&output=embed”></
iframe>

I get it right, but not in haml :

.contact_map
%iframe{:width => “276”, :height => “180”, :frameborder =>
“0”, :scrolling => “no”, :marginheight= => “0”, :marginwidth =>
“0”, :src => “Google Maps?
ie=UTF8&f=q&source=s_q&hl=en&geocode=&q=crach,
+morbihan,
+56950,+france&aq=&sll=37.0625,-95.677068&sspn=37.325633,62.050781&vpsrc=0&ie=UTF8&hq=&hnear=Crac’h,
+Morbihan,+Brittany,
+France&t=m&z=12&ll=47.616486,-3.000283&output=embed”}

is there any reason ? obvious ? hope to display it this year …

Happy 2012 !

On 28 December 2011 18:05, Erwin [email protected] wrote:

iframe>

+56950,+france&aq=&sll=37.0625,-95.677068&sspn=37.325633,62.050781&vpsrc=0&ie=UTF8&hq=&hnear=Crac’h,

+Morbihan,+Brittany,
+France&t=m&z=12&ll=47.616486,-3.000283&output=embed"}

is there any reason ? obvious ? hope to display it this year …

Have a look at the html of the page (View > Page Source or similar in
browser) in each case and compare them. They must be different.

Colin

Colin L. wrote in post #1038772:

Have a look at the html of the page (View > Page Source or similar in
browser) in each case and compare them. They must be different.

Colin

Thanks Colin … they were different

using HTML, in the iframe src url, I had :
maps?ie=UTF8&f=q&source=s_q … # & !!!

I was using ALSO & in HAML ! … the correct way is only the “&”
ampersand character…
maps?ie=UTF8&f=q&source=s_q … # only &

thanks a lot for pointing me in the right direction and read read read
again the generated code …
Happy New Rails Year !