Tidy broke some things which are illegal HTML, but the browser still
interprets.

Revert "Ran through tidy. Looks vaguely like HTML now"

This reverts commit 45371ef40a854e8c3451ff9d6d00c656119fb1fb.