lib/trac-wiki/parser.rb in trac-wiki-0.3.38 vs lib/trac-wiki/parser.rb in trac-wiki-0.3.40
- old
+ new
@@ -769,9 +769,10 @@
@tree.tag(:div, { class: "merge #{merge_class}" }, who)
end
def do_wikimedia_table(text)
end_paragraph
+ start_tag('div', class: 'table-div') if div_around_table?
start_tag(:table)
start_tag(:tr)
offset = 0
text.split("\n").each do |line|
offset += line.length + 1