summaryrefslogtreecommitdiff
path: root/httemplate/elements/popup_link.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/popup_link.html')
-rw-r--r--httemplate/elements/popup_link.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/elements/popup_link.html b/httemplate/elements/popup_link.html
index e9728ac1c..86d3ed633 100644
--- a/httemplate/elements/popup_link.html
+++ b/httemplate/elements/popup_link.html
@@ -51,6 +51,7 @@ if (ref($_[0]) eq 'HASH') {
my $label = $params->{'label'};
$label =~ s/ / /g;
+$label = encode_entities($label);
$label = $params->{'html_label'} || $label;
my $onclick = include('/elements/popup_link_onclick.html', $params);