Method: IsoDoc::WordFunction::Body#remove_bottom_border

Defined in:
lib/isodoc/word_function/table.rb

#remove_bottom_border(td) ⇒ Object



3
4
5
6
7
# File 'lib/isodoc/word_function/table.rb', line 3

def remove_bottom_border(td)
  td["style"] =
    td["style"].gsub(/border-bottom:[^;]+;/, "border-bottom:0pt;").
    gsub(/mso-border-bottom-alt:[^;]+;/, "mso-border-bottom-alt:0pt;")
end