develop #1

Merged
gitea merged 44 commits from develop into main 2025-11-26 01:15:20 +00:00
Showing only changes of commit 871f81277c - Show all commits

View File

@@ -1784,7 +1784,9 @@ def export_inspection_to_pdf(
]
if answer.comment:
question_data.append([Paragraph(f"<i>Comentarios: {answer.comment}</i>", styles['Normal']), ''])
import html
safe_comment = html.escape(answer.comment)
question_data.append([Paragraph(f"<i>Comentarios: {safe_comment}</i>", styles['Normal']), ''])
question_table = Table(question_data, colWidths=[4*inch, 2*inch])
question_table.setStyle(TableStyle([