fix(chromium): disable PDF tagging

This commit is contained in:
Julien Neuhart
2024-03-15 10:56:35 +01:00
parent b80318d1b6
commit 7b7ffb427d
2 changed files with 5 additions and 1 deletions

View File

@@ -47,6 +47,8 @@ func printToPdfActionFunc(logger *zap.Logger, outputPath string, options PdfOpti
WithMarginRight(options.MarginRight).
WithPageRanges(pageRanges).
WithPreferCSSPageSize(options.PreferCssPageSize).
// Does not seem to work.
// See https://github.com/gotenberg/gotenberg/issues/831.
WithGenerateTaggedPDF(false)
hasCustomHeaderFooter := options.HeaderTemplate != DefaultPdfOptions().HeaderTemplate ||