From 3063fb45f35d0cb5253871a540a8f0a0efa06b5a Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 5 Jul 2012 16:10:11 -0700 Subject: [PATCH] fix escaping in coordinate links --- httemplate/elements/coord-links.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httemplate/elements/coord-links.html b/httemplate/elements/coord-links.html index 81af8120b..60882deed 100644 --- a/httemplate/elements/coord-links.html +++ b/httemplate/elements/coord-links.html @@ -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, &> -- 2.11.0