class Kramdown::Parser::Kramdown

def parse_paragraph

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