summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-07-05 16:10:11 -0700
committerIvan Kohler <ivan@freeside.biz>2012-07-05 16:10:11 -0700
commit3063fb45f35d0cb5253871a540a8f0a0efa06b5a (patch)
treeafadd83f1d607c13ef3fccdc55ab6ca7c99201dd
parent226ebde26712fb03cb768235038a2d7c4f0a4fbf (diff)
fix escaping in coordinate links
-rw-r--r--httemplate/elements/coord-links.html4
1 files 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,
&>