lib/maruku/to_html.rb in maruku-0.2.10 vs lib/maruku/to_html.rb in maruku-0.2.11
- old
+ new
@@ -502,10 +502,13 @@
end
def to_html_head_cell; wrap_as_element('th') end
def to_html_cell; wrap_as_element('td') end
-
+ def to_html_entity
+ entity_name = @meta[:entity_name]
+ Text.new('&%s;' % [entity_name])
+ end
end
# We only want to output the children in Maruku::to_html
class REXML::Element; public :write_children end