manually fix extra spacing by deleting blank img tag