method
accept_list_item
v1_8_7_330 -
Show latest stable
- Class:
SM::ToHtml
accept_list_item(am, fragment)public
No documentation available.
# File lib/rdoc/markup/simple_markup/to_html.rb, line 96
def accept_list_item(am, fragment)
if tag = @in_list_entry.last
@res << annotate(tag) << "\n"
end
@res << list_item_start(am, fragment)
@res << wrap(convert_flow(am.flow(fragment.txt))) << "\n"
@in_list_entry[-1] = list_end_for(fragment.type)
end