hide html errors from domdoc save