summaryrefslogtreecommitdiff
path: root/httemplate/elements/coord-links.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-01-18 14:42:40 -0800
committerIvan Kohler <ivan@freeside.biz>2015-01-18 14:42:40 -0800
commit5aa599f2cda2c7923c162440e94ed8a931ffe8ac (patch)
treeeac903e2e3f20b605f388f8cd3be215099bfe63f /httemplate/elements/coord-links.html
parent79387d4530ffb226794c6c4c5c8c5a7284ae29da (diff)
fix coordinate links with aposrophies, RT#31079
Diffstat (limited to 'httemplate/elements/coord-links.html')
-rw-r--r--httemplate/elements/coord-links.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/coord-links.html b/httemplate/elements/coord-links.html
index c885ade87..45b813201 100644
--- a/httemplate/elements/coord-links.html
+++ b/httemplate/elements/coord-links.html
@@ -40,7 +40,7 @@ my $query = 'name='. uri_escape_utf8($name).
';lon='. $longitude;
my $js_name = $name;
-$js_name =~ s/[<>"]/ /g;
+$js_name =~ s/[<>"']/ /g;
$m->interp->apply_escapes($js_name, 'js_string');
$js_name =~ s/^'//;
$js_name =~ s/'$//;