diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-12-05 06:00:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 21:00:21 -0800 |
commit | 6f35600204132c5a0907bb7cccb2e10ffb27506a (patch) | |
tree | 3e729255c4984a1694452fe636ec6afe31fd4bbc /src/Text/Pandoc/Writers/Haddock.hs | |
parent | dc3ef5201f9531bc405ac07e763d9f004bb6bc91 (diff) | |
download | pandoc-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