class Kramdown::Parser::Kramdown

def parse_paragraph

Parse the paragraph at the current location.
def parse_paragraph
  result = @src.scan(self.class::PARAGRAPH_MATCH).chomp!
  if @tree.children.last && @tree.children.last.type == :p
    @tree.children.last.children.first.value << "\n" << result
  else
    @tree.children << new_block_el(:p)
    result.lstrip!
    @tree.children.last.children << Element.new(@text_type, result)
  end
  true
end