fix(chromium): remove tagged PDF by default

This commit is contained in:
Julien Neuhart
2024-03-04 10:28:54 +01:00
parent d18e6920fc
commit 804fcff5b6
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ func printToPdfActionFunc(logger *zap.Logger, outputPath string, options PdfOpti
WithMarginRight(options.MarginRight).
WithPageRanges(pageRanges).
WithPreferCSSPageSize(options.PreferCssPageSize).
WithGenerateTaggedPDF(true)
WithGenerateTaggedPDF(false)
hasCustomHeaderFooter := options.HeaderTemplate != DefaultPdfOptions().HeaderTemplate ||
options.FooterTemplate != DefaultPdfOptions().FooterTemplate