added stripping of image link paragraphs

This PR removes paragraphs that only have markdown image links in them. Without these changes there would be an empty paragraph where an inline image would usually be. Since iOS displays the image at the top of the content/detail cell this paragraph should be removed so that the paragraph before and after the image don't have an extra line of spacing.

//cc: @ehlersd