Skip to content

Commit

Permalink
Fix disclaimer encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevhen Zavhorodnii committed Nov 12, 2024
1 parent e0b6216 commit 6227e4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/report/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,8 @@ func (r *pdfReporter) createDisclaimer(parsedModel *types.Model) {
"as well as the chapter about the Threagile toolkit and method used is kept intact as part of the " +
"distributed report or referenced from the distributed parts.")
html := r.pdf.HTMLBasicNew()
html.Write(5, disclaimer.String())
uni := r.pdf.UnicodeTranslatorFromDescriptor("")
html.Write(5, uni(disclaimer.String()))
r.pdfColorBlack()
}

Expand Down

0 comments on commit 6227e4b

Please sign in to comment.