Compare commits

...

1 Commits

Author SHA1 Message Date
56c2b4599a fix: HTML formatter was setting bold wrong
Some checks are pending
Tests / build (push) Waiting to run
2024-09-21 12:56:40 -03:00

View File

@ -106,8 +106,7 @@ module Tartrazine
# These are true/false/nil
outp << "border: none;" if style.border == false
outp << "font-weight: bold;" if style.bold
outp << "font-weight: #{@weight_of_bold};" if style.bold == false
outp << "font-weight: #{@weight_of_bold};" if style.bold
outp << "font-style: italic;" if style.italic
outp << "font-style: normal;" if style.italic == false
outp << "text-decoration: underline;" if style.underline