Fixes some HTML glitches.