Fixed some broken recursive HTML wrapping.