From 0dd55b961c4f5854b458a22fff628ac27d13339e Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sat, 27 Sep 2014 18:40:22 -0700 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