Module: FoodIngredientParser::Loose::ToHtml
- Included in:
- Node
- Defined in:
- lib/food_ingredient_parser/loose/to_html.rb
Instance Method Summary collapse
-
#to_html ⇒ String
Markup original ingredients list text in HTML.
Instance Method Details
#to_html ⇒ String
Markup original ingredients list text in HTML.
The input text is returned as HTML, augmented with CSS classes on spans for name
, amount
, mark
and note
.
14 15 16 |
# File 'lib/food_ingredient_parser/loose/to_html.rb', line 14 def to_html node_to_html(self) end |