aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/CGI.pm2
-rw-r--r--templates/recentchanges.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index 6e1efbd69..be06db49c 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -81,7 +81,7 @@ sub cgi_recentchanges ($) { #{{{
my $changelog=[rcs_recentchanges(100)];
foreach my $change (@$changelog) {
$change->{when} = concise(ago($change->{when}));
- $change->{user} = htmllink("", "", $change->{user}, 1);
+ $change->{user} = htmllink("", "", escapeHTML($change->{user}), 1);
$change->{pages} = [
map {
$_->{link} = htmllink("", "", $_->{page}, 1);
diff --git a/templates/recentchanges.tmpl b/templates/recentchanges.tmpl
index f927cf62f..726e52f64 100644
--- a/templates/recentchanges.tmpl
+++ b/templates/recentchanges.tmpl
@@ -30,7 +30,7 @@
<TMPL_LOOP NAME="CHANGELOG">
<!-- <TMPL_VAR NAME="REV"> -->
<tr class="changeinfo">
- <td class="changeinfo"><TMPL_VAR NAME="USER" ESCAPE="HTML"></td>
+ <td class="changeinfo"><TMPL_VAR NAME="USER"></td>
<td class="changetime"><TMPL_VAR NAME="WHEN"></td>
<td class="changeinfo">
<TMPL_LOOP NAME="PAGES">