stable
Clone or download
Read-only
We should not allow variable interpretation inside PDF template generation. Given an artidoc with title "Document <br> title" When we export it as PDF Then the title should display: "Document <br> title" And not: "Document title" This forces us to ditch the variable visualisation in PDF preview. Part of story #38630: Export to file Change-Id: I6ae00c4b5c57848924efd729c8f00423c0c0eb4b
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/frontend/print-as-pdf/package.json | +3 | −2 | Go to diff View file |
M | lib/frontend/print-as-pdf/pnpm-lock.yaml | +5 | −2 | Go to diff View file |
M | lib/frontend/print-as-pdf/src/print-as-pdf.test.ts | +4 | −4 | Go to diff View file |
M | lib/frontend/print-as-pdf/src/print-as-pdf.ts | +2 | −1 | Go to diff View file |
M | plugins/pdftemplate/include/PdfTemplate/Admin/DisplayPdfTemplateCreationOrUpdateFormPresenter.php | +5 | −3 | Go to diff View file |
M | plugins/pdftemplate/include/PdfTemplate/Admin/create-or-update-template.mustache | +5 | −1 | Go to diff View file |
M | plugins/pdftemplate/include/PdfTemplate/Variable/Variable.php | +21 | −0 | Go to diff View file |
M | plugins/pdftemplate/scripts/admin/package.json | +1 | −0 | Go to diff View file |
M | plugins/pdftemplate/scripts/admin/pnpm-lock.yaml | +3 | −0 | Go to diff View file |
M | plugins/pdftemplate/scripts/admin/src/initiate-print-preview.ts | +7 | −14 | Go to diff View file |
M | plugins/pdftemplate/site-content/fr_FR/LC_MESSAGES/tuleap-pdftemplate.po | +3 | −0 | Go to diff View file |
A | plugins/pdftemplate/tests/unit/PdfTemplate/Variable/VariableTest.php | +38 | −0 | Go to diff View file |