Skip to content

Commit

Permalink
Fix unicode symbols for tag listing
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevhen Zavhorodnii committed Nov 12, 2024
1 parent aa0fee7 commit e0b6216
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/report/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -2496,8 +2496,9 @@ func (r *pdfReporter) createTagListing(parsedModel *types.Model) {
html.Write(5, "<br><br><br>")
}
r.pdfColorBlack()
html.Write(5, "<b>"+tag+"</b><br>")
html.Write(5, description)
uni := r.pdf.UnicodeTranslatorFromDescriptor("")
html.Write(5, "<b>"+uni(tag)+"</b><br>")
html.Write(5, uni(description))
}
}
}
Expand Down

0 comments on commit e0b6216

Please sign in to comment.