class Kramdown::Converter::Html
def convert_p(el, indent)
def convert_p(el, indent) if el.options[:transparent] inner(el, indent) elsif el.children.size == 1 && el.children.first.type == :img && el.children.first.options[:ial]&.[](:refs)&.include?('standalone') convert_standalone_image(el.children.first, indent) else format_as_block_html(el.type, el.attr, inner(el, indent), indent) end end