formatting images and hard returns