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