HTML mode skips DOCTYPE; no globals harmed outside pl.utils