Method: Minidown::ParagraphElement#parse

Defined in:
lib/minidown/elements/paragraph_element.rb

#parseObject



15
16
17
18
19
20
21
# File 'lib/minidown/elements/paragraph_element.rb', line 15

def parse
  if ParagraphElement === nodes.last
    nodes.last.contents << raw_content
  else
    nodes << self
  end
end