More tag closing fixes, for bugs found with weblint