Fix mismatch between Docutils DTD and actual behaviour.
commit6a6177844cc2ada6f12095a3907a808fc23dc5bf
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sat, 17 Feb 2024 10:38:06 +0000 (17 10:38 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sat, 17 Feb 2024 10:38:06 +0000 (17 10:38 +0000)
treec8f1f2f7b572cd41e04022a5315b3afdae728fef
parente68865bbc3e636b4596f58fe6cfc42951f69bf68
Fix mismatch between Docutils DTD and actual behaviour.

The rST parser sets the "xml:space" attribute on the `<math_block>`
doctree element since support this element in Docutils 0.8.
The documentation of the new element in the DTD missed this fact.
Add "xml:space" to the !ATTLIST so that "Docutils XML" documents
containing math blocks validate.

The `<raw>` element may only contain text, no inline elements.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@9546 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/HISTORY.txt
docutils/docs/ref/docutils.dtd
docutils/docutils/nodes.py