For SimpleValidator, set up HTML parser properly.