class Kramdown::Converter::Kramdown

def convert_xml_comment(el, opts)

def convert_xml_comment(el, opts)
  if el.options[:category] == :block && (@stack.last.type != :html_element || @stack.last.options[:parse_type] != :raw)
    el.value + "\n"
  else
    el.value
  end
end