]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki.pm
Release 3.20141016.4
[git.ikiwiki.info.git] / IkiWiki.pm
index 1043ef4024ba5994d773b524103c46baad50b084..b55078af0772cbc52150392a8e13e8aa8b5158da 100644 (file)
@@ -1570,6 +1570,8 @@ sub preprocess ($$$;$$) {
                                if ($@) {
                                        my $error=$@;
                                        chomp $error;
+                                       eval q{use HTML::Entities};
+                                       $error = encode_entities($error);
                                        $ret="[[!$command <span class=\"error\">".
                                                gettext("Error").": $error"."</span>]]";
                                }