lib/trac-wiki/parser.rb in trac-wiki-0.3.41 vs lib/trac-wiki/parser.rb in trac-wiki-0.3.42

- old
+ new

@@ -770,10 +770,10 @@ end def do_wikimedia_table(text) end_paragraph if div_around_table? - start_tag('div', class: 'table-div', 'data-line' => @line_no, 'data-lines' => text.count("\n")) + start_tag('div', class: 'table-div', 'data-line' => @line_no, 'data-lines' => text.count("\n") + 2) end start_tag(:table) start_tag(:tr) offset = 0 text.split("\n").each do |line|