replace tabs with 2 spaces in attestation PDF, instead of one

This commit is contained in:
clemkeirua 2020-09-08 17:49:17 +02:00 committed by Keirua (Rebase PR Action)
parent 19c1043b94
commit 47fd8f48cb

View file

@ -20,7 +20,7 @@ max_logo_height = 50.mm
max_signature_size = 50.mm
def normalize_pdf_text(text)
text&.tr("\t", ' ')
text&.tr("\t", ' ')
end
title = normalize_pdf_text(@attestation.fetch(:title))