Subject: [PATCH 1/8] Node.copy: don't forget to also setup .document/.source/.line in duplicate
Spot this by debugging Substitute transformation which does .deepcopy()
to substitute definitions.
This will be needed in the next patch, where I'll be teaching Inliner to
propagate .line for `inline' elements.
docutils/docutils/nodes.py | 23 +++++++++++++++++++----
1 files changed, 19 insertions(+), 4 deletions(-)
Log in to post a comment.