In a view I have the following iframe

<iframe width="624" height="356" frameborder="0" scrolling="no" 
marginheight="0" marginwidth="0" 
src="http://maps.google.nl/maps?f=q&amp;source=s_q&amp;hl=nl&amp;q={{=session.address.street}}+{{=session.address.houseNumber}}{{if
 
session.address.houseNumberExtension:}}+{{=session.address.houseNumberExtension}}{{pass}}+{{=session.address.postalCode}}+{{=session.address.locality}}+Nederland&amp;aq=&amp;ie=UTF8&amp;hq=&amp;hnear={{=session.address.street}}+{{=session.address.houseNumber}},+{{=session.address.locality}},+Nederland;t=m&amp;z=12&amp;iwloc=near&A&amp;output=embed"></iframe>

It should be rendered like this:

<iframe width="624" height="356" frameborder="0" scrolling="no" 
marginheight="0" marginwidth="0" 
src="http://maps.google.nl/maps?f=q&amp;source=s_q&amp;hl=nl&amp;q=Rhijnspoor+259+2901+LB+Capelle+aan+den+IJssel+Nederland&amp;aq=&amp;ie=UTF8&amp;hq=&amp;hnear=Rhijnspoor+259,+Capelle+aan+den+IJssel,+Nederland&amp;t=m&amp;z=12&amp;output=embed";></iframe>

However, this is what web2py renders:

<iframe width="624" height="356" frameborder="0" scrolling="no" 
marginheight="0" marginwidth="0" 
src="http://maps.google.nl/maps?f=q&source=s_q&hl=nl&q=Rhijnspoor+259+2901+LB+Capelle+aan+den+IJssel+Nederland&amp;aq=&ie=UTF8&hq=&hnear=Rhijnspoor+259,+Capelle+aan+den+IJssel,+Nederland&t=m&z=12&;output=embed";></iframe>

So, web2py removes all the amp; from the code, why?

Kind regards,

Annet.

-- 



Reply via email to