From 5aa599f2cda2c7923c162440e94ed8a931ffe8ac Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 18 Jan 2015 14:42:40 -0800 Subject: [PATCH] fix coordinate links with aposrophies, RT#31079 --- httemplate/elements/coord-links.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/'$//; -- 2.11.0