From 92152a8294ae2c4f9997a38c7648c79c0ff4076b Mon Sep 17 00:00:00 2001 From: Jesse Portnoy Date: Thu, 4 Jul 2024 13:55:16 +0100 Subject: [PATCH] go fmt --- mdtopdf.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mdtopdf.go b/mdtopdf.go index 802a56e..fdb789c 100644 --- a/mdtopdf.go +++ b/mdtopdf.go @@ -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)