mark-up clean-up