ignore warnings when loading invalid html