class Kramdown::Converter::Html

def convert_li(el, indent, opts)

def convert_li(el, indent, opts)
  output = ' '*indent << "<#{el.type}" << options_for_element(el) << ">"
  res = inner(el, indent, opts)
  if el.options[:first_is_block]
    output << "\n" << res << ' '*indent
  else
    output << res << (res =~ /\n\Z/ ? ' '*indent : '')
  end
  output << "</#{el.type}>\n"
end