From 4960abab9e6976f44f1de012730272f5a7708d01 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 29 Jul 2026 15:56:26 +0000 Subject: [PATCH] Enable tagged PDF export for html2pdf renders Chrome PrintToPDF now requests a structure tree and document outline by default, with optional RenderConfig overrides. Add lang="en" on the e-signature certificate template so /Lang is emitted. Signed-off-by: Cursor Agent Co-authored-by: Bryan FRIMIN --- pkg/esign/certificate.html.tmpl | 2 +- pkg/html2pdf/converter.go | 29 +++++++++++++++++++++++++++++ pkg/html2pdf/converter_test.go | 21 +++++++++++++++++++++ 3 files changed, 51 insertions(+), 1 deletion(-) diff --git a/pkg/esign/certificate.html.tmpl b/pkg/esign/certificate.html.tmpl index d4cc5c875..728de415d 100644 --- a/pkg/esign/certificate.html.tmpl +++ b/pkg/esign/certificate.html.tmpl @@ -1,5 +1,5 @@ - +