plugin/bookish.rb in livetext-0.9.30 vs plugin/bookish.rb in livetext-0.9.31
- old
+ new
@@ -171,10 +171,10 @@
delim = " :: "
api.out "<table cellpadding=2>"
lines = api.body(true)
maxw = nil
lines.each do |line|
- api.format(line)
+ # api.format(line)
cells = line.split(delim)
wide = cells.map {|x| x.length }
maxw = [0] * cells.size
maxw = maxw.map.with_index {|x, i| [x, wide[i]].max }
end