mirror of
git://repo.or.cz/docutils.git
synced 2025-10-06 00:32:41 +02:00
dac488cd293318f9d867942094b057134cf33466
* Always start a new title style hierarchy for nested parsing. * Append sections to the base node also if it is not a `<document>` or `<section>` (revert [r10203]). This change makes the behaviour of nested parsing more uniform and predictable (independent of type and possible parents of the base node). It prevents problems with silently dropped higher level sections in Docutils < 0.22 (because the legacy "raise error and retry" algorithm of section parsing fails with nested parsing). It also prevents a wrong node order for sections in Docutils 0.22 (because the calling parser has no means to know the new "insertion point" and continues where it left before the nested parsing). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@10206 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Languages
Python
52.4%
XSLT
14.1%
HTML
13.7%
reStructuredText
7.5%
TeX
3.7%
Other
8.5%