class Kramdown::Parser::Kramdown

def parse_html_entity

Parse the HTML entity at the current location.
def parse_html_entity
  @src.pos += @src.matched_size
  @tree.children << Element.new(:entity, @src[1] || (@src[2] && @src[2].to_i) || @src[3].hex)
end