X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/3badfb87141571c0219865360a93202048b0614c..3a72fd87c7214a508b67ac8dc3567a427240c9c8:/IkiWiki.pm 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"."]]"; }