mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 06:42:04 -03:00
fix: HTML formatter was setting bold wrong
Some checks are pending
Tests / build (push) Waiting to run
Some checks are pending
Tests / build (push) Waiting to run
This commit is contained in:
@ -106,8 +106,7 @@ module Tartrazine
|
|||||||
|
|
||||||
# These are true/false/nil
|
# These are true/false/nil
|
||||||
outp << "border: none;" if style.border == false
|
outp << "border: none;" if style.border == false
|
||||||
outp << "font-weight: bold;" if style.bold
|
outp << "font-weight: #{@weight_of_bold};" if style.bold
|
||||||
outp << "font-weight: #{@weight_of_bold};" if style.bold == false
|
|
||||||
outp << "font-style: italic;" if style.italic
|
outp << "font-style: italic;" if style.italic
|
||||||
outp << "font-style: normal;" if style.italic == false
|
outp << "font-style: normal;" if style.italic == false
|
||||||
outp << "text-decoration: underline;" if style.underline
|
outp << "text-decoration: underline;" if style.underline
|
||||||
|
Reference in New Issue
Block a user