PDF: fix handling empty qr-codes (#5488)

This commit is contained in:
Richard Schreiber
2025-09-26 15:07:31 +02:00
committed by GitHub
parent 39e5711e95
commit a34b6a04ea

View File

@@ -819,7 +819,7 @@ class Renderer:
# and does not deal with our default value here properly
content = op.secret
else:
content = self._get_text_content(op, order, o)
content = self._get_text_content(op, order, o).strip()
if len(content) == 0:
return