lib/kramdown/parser/kramdown/footnote.rb in kramdown-1.4.1 vs lib/kramdown/parser/kramdown/footnote.rb in kramdown-1.4.2

- old
+ new

@@ -24,10 +24,10 @@ el = Element.new(:footnote_def, nil, nil, :location => start_line_number) parse_blocks(el, @src[2].gsub(INDENT, '')) warning("Duplicate footnote name '#{@src[1]}' on line #{start_line_number} - overwriting") if @footnotes[@src[1]] (@footnotes[@src[1]] = {})[:content] = el - @tree.children << Element.new(:eob, :footnote_def, nil, :location => start_line_number) + @tree.children << Element.new(:eob, :footnote_def) true end define_parser(:footnote_definition, FOOTNOTE_DEFINITION_START)