summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-09-27 18:40:22 -0700
committerIvan Kohler <ivan@freeside.biz>2014-09-27 18:40:22 -0700
commit0dd55b961c4f5854b458a22fff628ac27d13339e (patch)
tree3b27772a27a9e237863adbd35ab983cc4e69d3b2
parenta164934f3f6c6c071568dc40c6c702a75bcf475b (diff)
fix coordinate links with aposrophies, RT#31079
-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/'$//;