cleaning up tabs, paragraph marks, placeholder images