fix escaping in coordinate links
[freeside.git] / 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,
   &>