X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/56f8223f9594ae687099dada0c138d669a6f931f..1ef40ff68370aba85e9816221675a8edd7a308f5:/IkiWiki.pm?ds=sidebyside diff --git a/IkiWiki.pm b/IkiWiki.pm index 1043ef402..b55078af0 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1570,6 +1570,8 @@ sub preprocess ($$$;$$) { if ($@) { my $error=$@; chomp $error; + eval q{use HTML::Entities}; + $error = encode_entities($error); $ret="[[!$command ". gettext("Error").": $error"."]]"; }