improving formatting: img tags are not framed by paragraph tags any more