web/views/igeocodable.py
changeset 1587 56e347b8189c
parent 553 c69eac8298c0
child 1600 5c68c50ca08f
--- a/web/views/igeocodable.py	Sat Apr 18 15:48:42 2009 -0500
+++ b/web/views/igeocodable.py	Sat Apr 18 15:49:40 2009 -0500
@@ -71,6 +71,7 @@
             loadurl = self.build_url(rql=rql, vid='geocoding-json')
         else:
             loadurl = self.build_url(rql=rql, vid='geocoding-json', **urlparams)
+        loadurl = loadurl.replace('&','&')
         self.w(u'<div style="width: %spx; height: %spx;" class="widget gmap" '
                u'cubicweb:wdgtype="GMapWidget" cubicweb:loadtype="auto" '
                u'cubicweb:loadurl="%s" cubicweb:uselabel="%s"> </div>' % (width, height, loadurl, uselabel))