X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5975a6ddc3c14b69a6db1b05132724b422592b08..bcfba8cdb50dcaca9faa182955825670efb15852:/IkiWiki.pm?ds=inline 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"."]]"; }