Merge pull request #10081 from mfo/US/fix-motivation-tags
correctif(attestation): ETQ usager, je ne souhaite pas voir apparaitre des balaises HTML dans mon attestation au format pdf
This commit is contained in:
commit
a898675145
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue