]> git.cameronkatri.com Git - mandoc.git/commit
If a node is tagged explicitly, skip implicit tagging for that node.
authorIngo Schwarze <schwarze@openbsd.org>
Tue, 26 Apr 2022 11:38:38 +0000 (11:38 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Tue, 26 Apr 2022 11:38:38 +0000 (11:38 +0000)
commit8c8298198d4578f2d09c34f5b09dea2af3a45a19
tree3a64f53c0fd96abf879a4430a97e5c4a94ca8eb6
parent585346697024b5a41297196991bebef97f11a26a
If a node is tagged explicitly, skip implicit tagging for that node.
Apart from making sense in the first place, this fixes an assertion
failure that happened when the calculated implicit tag did not match
the string value of the first child of the node,

Bug found by tb@ using afl(1).
regress/mdoc/Tg/Makefile
regress/mdoc/Tg/implicit.in [new file with mode: 0644]
regress/mdoc/Tg/implicit.out_ascii [new file with mode: 0644]
regress/mdoc/Tg/implicit.out_html [new file with mode: 0644]
regress/mdoc/Tg/implicit.out_markdown [new file with mode: 0644]
regress/mdoc/Tg/implicit.out_tag [new file with mode: 0644]
tag.c