lib/kramdown/parser/kramdown/table.rb in kramdown-0.6.0 vs lib/kramdown/parser/kramdown/table.rb in kramdown-0.7.0

- old
+ new

@@ -35,10 +35,10 @@ TABLE_START = /^#{OPT_SPACE}\|(?:-|(?!=))/ # Parse the table at the current location. def parse_table orig_pos = @src.pos - table = Element.new(:table, nil, :alignment => []) + table = new_block_el(:table, nil, :alignment => []) @src.scan(TABLE_SEP_LINE) rows = [] has_footer = false