class Kramdown::Converter::Html

Public Instance Methods

convert_span(el, indent) click to toggle source
# File lib/darkmouun/kramdown/converter/html.rb, line 7
def convert_span(el, indent)
  if el.attr.empty?
    "[#{inner(el, indent)}]"
  else
    format_as_span_html('span', el.attr, inner(el, indent))
  end
end