html: Fix logic in htmlAutoClose Note that the function is never called with a NULL newtag. Fixes #591.