From 401ad622312f1a8609dde3aebdd47b0431cba79e Mon Sep 17 00:00:00 2001 From: fiddlededee Date: Sat, 20 May 2023 15:25:03 +0300 Subject: [PATCH] Fixed table column style attribute --- lib/slim/table.fodt.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/slim/table.fodt.slim b/lib/slim/table.fodt.slim index fcb2c80..5c2dd24 100644 --- a/lib/slim/table.fodt.slim +++ b/lib/slim/table.fodt.slim @@ -8,7 +8,7 @@ =captioned_title table:table table:name = "table" table:style-name = "adoc_t #{table_style}" - @columns.each do |col| - table:table-column table:style-name = 'adoc_tc tcp_rcw_#{(col.attr :width)}' + table:table-column table:style-name = 'adoc_tc tcp_rcw_#{(col.attr :width)} ' - [:head].select {|tblsec| !@rows[tblsec].empty? }.each do |tblsec| table:table-header-rows include table_section.fodt.slim