fix escaping in coordinate links
authorIvan Kohler <ivan@freeside.biz>
Thu, 5 Jul 2012 23:10:11 +0000 (16:10 -0700)
committerIvan Kohler <ivan@freeside.biz>
Thu, 5 Jul 2012 23:10:11 +0000 (16:10 -0700)
httemplate/elements/coord-links.html

index 81af812..60882de 100644 (file)
@@ -3,7 +3,7 @@
 <& /elements/popup_link.html,
      'action'      => $p. 'view/map.html?'. $query,
      'label'       => mt('map'),
-     'actionlabel' => $name,
+     'actionlabel' => uri_escape_utf8($name),
      'width'       => 763,
      'height'      => 575,
      #'color'
@@ -13,7 +13,7 @@
   <& /elements/popup_link.html,
       'action'      => $p. "view/directions.html?origin=$origin;". $query,
       'label'       => mt('directions'),
-      'actionlabel' => $name,
+      'actionlabel' => uri_escape_utf8($name),
       'width'       => 763,
       'height'      => 575,
   &>