Class: HamdownCore::Ast::HtmlUlListItem
- Inherits:
-
HtmlListItem
- Object
- Struct
- BaseText
- HtmlListItem
- HamdownCore::Ast::HtmlUlListItem
- Defined in:
- lib/hamdown_core/ast.rb
Instance Attribute Summary
Attributes inherited from BaseText
#escape_html, #filename, #lineno
Instance Method Summary collapse
Methods inherited from HtmlListItem
#html_list_item?, #markdownable?, #to_ol_list_item!, #to_ul_list_item!
Methods inherited from BaseText
#initialize, #markdownable?, #to_h
Constructor Details
This class inherits a constructor from HamdownCore::Ast::BaseText
Instance Method Details
#text ⇒ Object
219 220 221 222 |
# File 'lib/hamdown_core/ast.rb', line 219 def text str = super.gsub('<li>', '').gsub('</li>', '') "* #{str}" end |