Bug fix
This commit is contained in:
parent
f71dbd0d06
commit
39cdc9e4a3
|
@ -710,8 +710,9 @@ class GymnastReportDocument(PDFDocument):
|
||||||
width, height = paragraph.wrap(18*cm, 10*cm)
|
width, height = paragraph.wrap(18*cm, 10*cm)
|
||||||
paragraph.drawOn(self.document, INDENTED_X, self.y - (height / 2))
|
paragraph.drawOn(self.document, INDENTED_X, self.y - (height / 2))
|
||||||
|
|
||||||
self.add_new_line(
|
html_text = plan.informations
|
||||||
INDENTED_X,
|
paragraph = Paragraph(html_text, self.style)
|
||||||
plan.informations
|
width, height = paragraph.wrap(18*cm, 10*cm)
|
||||||
)
|
paragraph.drawOn(self.document, INDENTED_X, self.y - (height / 2))
|
||||||
|
|
||||||
self.add_vspace(-0.4*cm)
|
self.add_vspace(-0.4*cm)
|
||||||
|
|
Loading…
Reference in New Issue