Add a strict option to ignore html errors

And clean up a bunch of whitespace, I guess?