Application#init() { getMarkupSettings().setMarkupParserFactory() { new MarkupParserFactory() { MarkupParser newMarkupParser(final MarkupResourceStream resource) { MarkupParser parser=super.newMarkupParser(resource); parser.appendMarkupFilter(new HtmlProblemFinder(HtmlProblemFinder.ERR_THROW_EXCEPTION)); return parser; } } } }The purpose of the filter is to find possible HTML issues and to log a warning. @author Juergen Donnerstag
|
|
|
|
|
|
|
|
|
|
|
|