remove broken images and clean up blockquote