.bundle/ruby/2.0.0/gems/kramdown-1.4.1/lib/kramdown/parser/kramdown.rb
def update_raw_header_text(header)
        # DEPRECATED: option auto_id_stripping will be removed in 2.0 because then this will be the
        # default behaviour
        return unless @options[:auto_id_stripping]
        raw_text = ''

        append_text = lambda do |child|
          if child.type == :text
            raw_text << child.value
          else
            child.children.each {|c| append_text.call(c)}
          end
        end

        append_text.call(header)
        header.options[:raw_text] = raw_text
      end
# Update the raw header text for automatic ID generation.
Update the raw header text for automatic ID generation.
Update the raw header text for automatic ID generation .
def update_raw_header_text(header)
        return unless @options[:auto_id_stripping]
        raw_text = ''
        append_text = lambda do |child|
          if child.type == :text
            raw_text << child.value
          else
            child.children.each {|c| append_text.call(c)}
          end
        end
        append_text.call(header)
        header.options[:raw_text] = raw_text
      end
def update_raw_header_text ( header ) return unless @options [ :auto_id_stripping ] raw_text = '' append_text = lambda do | child | if child . type == :text raw_text << child . value else child . children . each { | c | append_text . call ( c ) } end end append_text . call ( header ) header . options [ :raw_text ] = raw_text end
Update the raw header text for automatic ID generation.
Update the raw header text for automatic ID generation .
# DEPRECATED: option auto_id_stripping will be removed in 2.0 because then this will be the # default behaviour
header