projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
79387d4
)
fix coordinate links with aposrophies, RT#31079
author
Ivan Kohler
<ivan@freeside.biz>
Sun, 18 Jan 2015 22:42:40 +0000
(14:42 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Sun, 18 Jan 2015 22:42:40 +0000
(14:42 -0800)
httemplate/elements/coord-links.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/coord-links.html
b/httemplate/elements/coord-links.html
index
c885ade
..
45b8132
100644
(file)
--- 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;
';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/'$//;
$m->interp->apply_escapes($js_name, 'js_string');
$js_name =~ s/^'//;
$js_name =~ s/'$//;