Method: IsoDoc::Function::Table#make_table_attr
- Defined in:
- lib/isodoc/function/table.rb
#make_table_attr(node) ⇒ Object
47 48 49 50 51 52 53 54 55 |
# File 'lib/isodoc/function/table.rb', line 47 def make_table_attr(node) width = node["width"] ? "width:#{node['width']};" : nil attr_code( id: node["id"], class: "MsoISOTable", style: "border-width:1px;border-spacing:0;#{width}", title: node["alt"] ) end |