asciidoctor / asciidoctor-diagram

:left_right_arrow: Asciidoctor diagram extension, with support for AsciiToSVG, BlockDiag (BlockDiag, SeqDiag, ActDiag, NwDiag), Ditaa, Erd, GraphViz, Mermaid, Msc, PlantUML, Shaape, SvgBob, Syntrax, UMLet, Vega, Vega-Lite and WaveDrom.
http://asciidoctor.org
MIT License
439 stars 107 forks source link

Creating barcodes caches the image independently of the type #417

Closed ahus1 closed 1 year ago

ahus1 commented 1 year ago

Given the following code:

qrcode::123[]

code39::123[]

and the following command:

asciidoctor -r asciidoctor-diagram test.adoc

it creates the output with identical images as shown below, while two different types of barcodes are expected.

Possible cause: The type of the barcode is not part of the calculated hash.

Workaround: add an attribute like target=... with different values.

image