asciidocfx / AsciidocFX

Asciidoc Editor and Toolchain written with JavaFX 21 (Build PDF, Epub, Mobi and HTML books, documents and slides)
http://www.asciidocfx.com/
Apache License 2.0
1.9k stars 299 forks source link

Asciidoc FX v1.8.6 > Include Directive > Include by Tagged Region is nonfunctional #615

Closed lopsotronic closed 6 months ago

lopsotronic commented 10 months ago

The following markup inside of a file ../DMC/DMC-DEMO-000-10-00-01A-280A-A.adoc

`include::../CIR/DMC-DEMO-000-00-00-01A-0A4A-A.adoc[tag=Flammable]

Referencing the following include target file ../CIR/DMC-DEMO-000-00-00-01A-0A4A-A.adoc

= List of Warnings - Common information repository

// tag::HighVoltage[] WARNING: High voltage kills! ZAP
// end::HighVoltage[]

// tag::Flammable[] WARNING: Fuel may cause burning to death // end::Flammable[]

// tag::Detergent[] WARNING: Do not get detergent into your eyes. If it gets into your eyes, wash them immediately in clean warm water. // end::Detergent[]

Does not reference tag::Flammable, but instead returns the entire contents of the include file

The same markup works on vanilla Asciidoctor.js in Visual Studio Code, and I thought AsciidocFX used the JS implementation, but I am very open to correction.

lopsotronic commented 10 months ago

Also confirmed functional on AsciidocFX185 and 179

rahmanusta commented 9 months ago

It is in progress to resolve that issue, thanks for reporting

rahmanusta commented 8 months ago

Hi, you can see the fix in https://github.com/asciidocfx/AsciidocFX/releases/tag/v1.8.7