Bug#1059146: pandoc produces html5 that gives lintian errors
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 .
Perhaps a reasonable solution would be to update the template in the
debian pandoc package to not produce html code that gives the lintian
error?
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-11-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages pandoc depends on:
ii libc6 2.37-13
ii libffi8 3.4.4-2
ii libgmp10 2:6.3.0+dfsg-2
ii liblua5.4-0 5.4.6-1
ii libyaml-0-2 0.2.5-1
ii pandoc-data 3.0.1-3
ii zlib1g 1:1.3.dfsg-3
pandoc recommends no packages.
Versions of packages pandoc suggests:
pn citation-style-language-styles <none>
pn context <none>
pn ghc <none>
pn groff <none>
pn libjs-katex <none>
ii libjs-mathjax 2.7.9+dfsg-1
pn librsvg2-bin <none>
pn nodejs <none>
pn pandoc-citeproc <none>
ii perl 5.36.0-10
pn php <none>
pn python <none>
pn r-base-core <none>
ii ruby 1:3.1
pn texlive-latex-extra <none>
ii texlive-latex-recommended 2023.20231207-1
ii texlive-luatex 2023.20231207-1
pn texlive-xetex <none>
pn wkhtmltopdf <none>
-- no debconf information
Reply to: