diff --git a/app/views/administrateurs/attestation_templates/show.pdf.prawn b/app/views/administrateurs/attestation_templates/show.pdf.prawn index 287d7951a..3b2b89f2e 100644 --- a/app/views/administrateurs/attestation_templates/show.pdf.prawn +++ b/app/views/administrateurs/attestation_templates/show.pdf.prawn @@ -20,7 +20,7 @@ max_logo_height = 50.mm max_signature_size = 50.mm def normalize_pdf_text(text) - text&.tr("\t", ' ') + strip_tags(text&.tr("\t", ' ')) end title = normalize_pdf_text(@attestation.fetch(:title))