Closed stallio closed 1 year ago
This issue comes from Asciidoctor core. The problem is that >;
gets escaped to >;
and the callout replacer considers ;;
to be the start of a line comment. So it gets swallowed up and messes up the line. You can work around this issue by setting the line-comment
attribute on the block.
[line-comment=//]
----
>; <1>
----
You can also set the attribute to empty string to turn off the check for the line comment altogether.
Inside a code listing, when the string
>;
is followed by a code callout, the callout breaks and the XML is dumped into the listing.Test 1 works but Test 2 returns the following error:
ERROR: failed to parse formatted text:  >� (reason: Expected ';' after > at byte 5)