aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
authorZhiming Wang <github@zmwang.pw>2018-10-04 12:26:36 -0400
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-04 09:26:36 -0700
commit5dc2aed09a070c215d62f69998f9edd428eec2e6 (patch)
treea5959abbfe588532b0798cc3ad234e1d34270150 /spec.txt
parent04b3fdede574c59aefed90cb6cbb7a42d4a7332d (diff)
make_spec.lua: fix migration of children nodes in create_anchors (#536)
* make_spec.lua: rename children to child Naming a variable "children" when it holds one child is confusing, and blocks naming actual children. * make_spec.lua: fix migration of children nodes in create_anchors Prior to this commit, when migrating the children of a node to a new one, children are moved as they are iterated via `cmark_node_next`; however, when a child is moved under the new node, its next relationship with its sibling is broken, so in fact at most one child is migrated, and the rest are lost. This resulted in cases like [Decimal numeric character references](@) consist of... (note the softbreak) being eventually rendered as <a ...>Decimal numeric character</a> consist of...
Diffstat (limited to 'spec.txt')
0 files changed, 0 insertions, 0 deletions