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.86k stars 297 forks source link

Fix included: "Optional" option is not respected for include #633

Open suddenfall opened 2 months ago

suddenfall commented 2 months ago

This adoc code produces an error if the file does not exist:

include::my-dummy.adoc[opts=optional]

But it shouldn't because of the option "optional".

Here is a diff to patch the bug: diff.txt

suddenfall commented 2 months ago

Pull request added: https://github.com/asciidocfx/AsciidocFX/pull/634