Issue #2195745 by sun: Replace _filter_htmlcorrector() with a utility class in core.