diff options
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index d1b65cd51..68047b9b9 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -621,6 +621,9 @@ sub userlink ($) { #{{{ return "<a href=\"$user\">$oiduser</a>"; } else { + eval q{use CGI 'escapeHTML'}; + error($@) if $@; + return htmllink("", "", escapeHTML( length $config{userdir} ? $config{userdir}."/".$user : $user ), noimageinline => 1); |