Fix HTML validity (hopefully)