Method: IsoDoc::WordFunction::Body#remove_bottom_border
- Defined in:
- lib/isodoc/word_function/table.rb
#remove_bottom_border(cell) ⇒ Object
4 5 6 7 8 |
# File 'lib/isodoc/word_function/table.rb', line 4 def remove_bottom_border(cell) cell["style"] = cell["style"].gsub(/border-bottom:[^;]+;/, "border-bottom:0pt;") .gsub(/mso-border-bottom-alt:[^;]+;/, "mso-border-bottom-alt:0pt;") end |