X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/f9e96b0c32ea7db069c718020f65174ad0bcc1d7..84a0b15eb68917829267bacac005f2bcefee914a:/IkiWiki.pm diff --git a/IkiWiki.pm b/IkiWiki.pm index f68797ae3..1433af99b 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1481,6 +1481,8 @@ sub preprocess ($$$;$$) { if ($@) { my $error=$@; chomp $error; + eval q{use HTML::Entities}; + $error = encode_entities($error); $ret="[[!$command ". gettext("Error").": $error"."]]"; }