class Kramdown::Parser::Kramdown

def parse_typographic_syms

Parse the typographic symbols at the current location.
def parse_typographic_syms
  @src.pos += @src.matched_size
  val = TYPOGRAPHIC_SYMS_SUBST[@src.matched]
  if val.kind_of?(Symbol)
    @tree.children << Element.new(:typographic_sym, val)
  elsif @src.matched == '\\<<'
    @tree.children << Element.new(:entity, ::Kramdown::Utils::Entities.entity('lt'))
    @tree.children << Element.new(:entity, ::Kramdown::Utils::Entities.entity('lt'))
  else
    @tree.children << Element.new(:entity, ::Kramdown::Utils::Entities.entity('gt'))
    @tree.children << Element.new(:entity, ::Kramdown::Utils::Entities.entity('gt'))
  end
end