aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Haddock.hs
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-12-05 06:00:21 +0100
committerGitHub <noreply@github.com>2020-12-04 21:00:21 -0800
commit6f35600204132c5a0907bb7cccb2e10ffb27506a (patch)
tree3e729255c4984a1694452fe636ec6afe31fd4bbc /src/Text/Pandoc/Writers/Haddock.hs
parentdc3ef5201f9531bc405ac07e763d9f004bb6bc91 (diff)
downloadpandoc-6f35600204132c5a0907bb7cccb2e10ffb27506a.tar.gz
Docbook writer: add XML namespaces to top-level elements (#6923)
Previously, we only added xmlns attributes to chapter elements, even when running with --top-level-division=section. Let’s add the namespaces to part and section elements too, when they are the selected top-level divisions. We do not need to add namespaces to documents produced with --standalone flag, since those will already have xmlns attribute on the root element in the template.
Diffstat (limited to 'src/Text/Pandoc/Writers/Haddock.hs')
0 files changed, 0 insertions, 0 deletions