asciidoc-py / asciidoc-py2

Deprecated python2 implementation of AsciiDoc.py. See asciidoc-py/asciidoc-py for current work.
https://asciidoc.org/
GNU General Public License v2.0
466 stars 128 forks source link

Labels lost after callouts #121

Closed Tran6 closed 6 years ago

Tran6 commented 6 years ago

Label does not appearing after source code callouts

[source,xml]
----
  <myThing>
    <foo>foo</foo> <!--1-->
    <bar>bar</bar> <!--2-->
  </myThing>
----
<1> this is foo
<2> this is bar

myLabel:: this doesn't appear
elextr commented 6 years ago

Are you using the Asciidoc Python or Asciidoctor implementation (asked because the <!--1--> syntax is asciidoctor only)? If its Asciidoctor probably best if you report the problem on its github https://github.com/asciidoctor/asciidoctor.

Tran6 commented 6 years ago

Ah. You are correct, I am using the Asciidoctor implementation. I'll close the issue here. Thank you, elextr, for the quick response!

mojavelinux commented 6 years ago

If I remember correctly, this was a bug in an older version of Asciidoctor. Can you test with Asciidoctor 1.5.6.1. If you can still reproduce, then report it here: https://github.com/asciidoctor/asciidoctor.