Bug#1059146: pandoc produces html5 that gives lintian errors

Andreas Ronnquist gusnan at gusnan.se
Thu Dec 21 12:18:23 GMT 2023


On Wed, 20 Dec 2023 14:35:09 +0100 Andreas =?UTF-8?B?UsO2bm5xdWlzdA==?= <gusnan at debian.org> wrote:
> Package: pandoc
> Version: 3.0.1+ds-3
> Severity: normal
> 
> Dear Maintainer,
> 
> Pandoc produces html5 that gives lintian errors - for example:
> 
> E: allegro5-doc: privacy-breach-uses-embedded-file You may use the
> node-html5shiv package (virtual package).
> (//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js)
> [usr/share/doc/allegro5-doc/refman/acodec.html]
> 
> This is due to the html5 template in pandoc contains the following code block:
> 
> <!--[if lt IE 9]>
> <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
> <![endif]-->
> 
> This is reported to pandoc upstream, but they find the problem not
> worth "introducing additional complexities to deal with this", because
> it only affects older IE browsers.
> 
> See https://github.com/jgm/pandoc/issues/6809 .
> 

And now the mentioned code block has been deleted from the template in
the upstream package. Could you please remove it from the Debian
package too to make lintian not give errors?

https://github.com/jgm/pandoc/commit/907b1192d1f5a5f1b8c5156693e0ba4c63f02c2f

/Andreas



More information about the Pkg-haskell-maintainers mailing list