class Kramdown::Converter::Html
def convert_ul(el, indent)
def convert_ul(el, indent) if !@toc_code && (el.options[:ial][:refs].include?('toc') rescue nil) && (el.type == :ul || el.type == :ol) @toc_code = [el.type, el.attr, (0..128).to_a.map{|a| rand(36).to_s(36)}.join] @toc_code.last else format_as_indented_block_html(el.type, el.attr, inner(el, indent), indent) end end