Errors made inside resource files now are output properly rather than as plain text.