X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/cf707d16541c0f65519231c1ccc9a6c3a7ed8d62..0cd67c515fad03797fa7792c10b507a0abb77c28:/IkiWiki/Plugin/userlist.pm?ds=sidebyside diff --git a/IkiWiki/Plugin/userlist.pm b/IkiWiki/Plugin/userlist.pm index f3e5cd462..2ebf61978 100644 --- a/IkiWiki/Plugin/userlist.pm +++ b/IkiWiki/Plugin/userlist.pm @@ -58,10 +58,13 @@ sub showuserlist ($$) { my $h="\n"; $h.="\n"; my $info=IkiWiki::userinfo_retrieve(); + eval q{use HTML::Entities}; if (ref $info) { foreach my $user (sort { $info->{$a}->{regdate} <=> $info->{$b}->{regdate} } keys %$info) { my %i=%{$info->{$user}}; - $h.="\n"; + $h.="\n"; } } $h.="
".gettext("login")."".gettext("email")."
$user".(defined $i{email} ? $i{email} : "")."
".encode_entities($user)."". + encode_entities(defined $i{email} ? $i{email} : ""). + "
\n";