@@ -153,7 +153,8 @@ makeWithWkhtmltopdf program pdfargs writer opts doc@(Pandoc meta _) = do
153153 (getField "margin-left" meta'))
154154 ,("footer-html", getField "footer-html" meta')
155155 ,("header-html", getField "header-html" meta')
156− ] ++ pdfargs
156+ ] ++ ("--enable-local-file-access" : pdfargs)
157+ -- see #6474
157158 source <- writer opts doc
158159 verbosity <- getVerbosity
159160 liftIO $ html2pdf verbosity program args source