Fix for images that are not children of p tags