Quick question, is there a reason you are using a simple iframe rather than using the API properly?
https://developers.google.com/maps/documentation/staticmaps/ On Mon, Aug 6, 2012 at 5:58 PM, Annet <anneve...@googlemail.com> wrote: > 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&source=s_q&hl=nl&q={{=session.address.street}}+{{=session.address.houseNumber}}{{if > session.address.houseNumberExtension:}}+{{=session.address.houseNumberExtension}}{{pass}}+{{=session.address.postalCode}}+{{=session.address.locality}}+Nederland&aq=&ie=UTF8&hq=&hnear={{=session.address.street}}+{{=session.address.houseNumber}},+{{=session.address.locality}},+Nederland;t=m&z=12&iwloc=near&A&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&source=s_q&hl=nl&q=Rhijnspoor+259+2901+LB+Capelle+aan+den+IJssel+Nederland&aq=&ie=UTF8&hq=&hnear=Rhijnspoor+259,+Capelle+aan+den+IJssel,+Nederland&t=m&z=12&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&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. > > -- > > > --