fix some formatting oddities in Word -> HTML conversion