Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jessp01 committed Jul 4, 2024
1 parent d18918d commit 92152a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mdtopdf.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,11 @@ func (r *PdfRenderer) UpdateBlockquoteStyler() {

func (r *PdfRenderer) setStyler(s Styler) {
// see https://github.com/mandolyte/mdtopdf/issues/18#issuecomment-2179694815
// This does not address the root cause
// (https://github.com/mandolyte/mdtopdf/issues/18#issuecomment-2179694815)
// This does not address the root cause
// (https://github.com/mandolyte/mdtopdf/issues/18#issuecomment-2179694815)
// but it will correct all cases and is safer.
if s.Style == "bb" {
s.Style = "b"
s.Style = "b"
}
r.Pdf.SetFont(s.Font, s.Style, s.Size)
r.Pdf.SetTextColor(s.TextColor.Red, s.TextColor.Green, s.TextColor.Blue)
Expand Down

0 comments on commit 92152a8

Please sign in to comment.