Closed ahus1 closed 1 year ago
Might be related to this - the following code:
qrcode:https://my-link.tld/something[format=txt]
creates this error message:
asciidoctor: ERROR: test.adoc: line 3: Failed to generate image: Asciidoctor::Diagram::BarcodeInlineMacroProcessor does not support output format txt undefined method `include?' for nil:NilClass
Looks like I got that wrong when I added inline support. The processor was eagerly converting the Inline node instead of returning it.
That used it be how it was, but it changed in Asciidoctor 2.
Given the following input
and rendering it with INFO messages enabled (
-v
)there is a INFO message indicating a possible problem:
This only occurs with the inline macro, not with the block macro.