fix(attestation): strip all tags from attestation
This commit is contained in:
parent
a247ec6c12
commit
d0e2df1aa0
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ max_logo_height = 50.mm
|
||||||
max_signature_size = 50.mm
|
max_signature_size = 50.mm
|
||||||
|
|
||||||
def normalize_pdf_text(text)
|
def normalize_pdf_text(text)
|
||||||
text&.tr("\t", ' ')
|
strip_tags(text&.tr("\t", ' '))
|
||||||
end
|
end
|
||||||
|
|
||||||
title = normalize_pdf_text(@attestation.fetch(:title))
|
title = normalize_pdf_text(@attestation.fetch(:title))
|
||||||
|
|
Loading…
Reference in a new issue