Login  Register

Treatment of duplicate tags in tagged includes from the same file

Posted by oddhack on May 17, 2020; 2:00pm
URL: https://discuss.asciidoctor.org/Treatment-of-duplicate-tags-in-tagged-includes-from-the-same-file-tp8010.html

https://asciidoctor.org/docs/user-manual/#by-tagged-regions says:

"Assign a unique name to the tag directive. In this example the tag is called timings."

This doesn't seem to be enforced in ruby asciidoctor 2.0.10, at least. If I have a file with two tagged regions using the same tag, and include that tag (once) from another file, then both regions are included. Is this intentional but not well documented behavior, or a bug?

Thanks,
Jon