Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid 'backend' attribute #1260

Closed
abelsromero opened this issue Feb 12, 2024 · 2 comments
Closed

Invalid 'backend' attribute #1260

abelsromero opened this issue Feb 12, 2024 · 2 comments
Labels

Comments

@abelsromero
Copy link
Member

abelsromero commented Feb 12, 2024

There are methods to set backend as an attribute in AttributesBuilder and Attributes.

Unless I missed something this seems to be some mistake and should be deleted. Does anyone know of an actual use for that?

@robertpanzer
Copy link
Member

I added this because Asciidoctor itself also stores this as an attribute:
https://github.com/asciidoctor/asciidoctor/blob/182b43ee445fdbb901941effe90e4e2247487489/lib/asciidoctor/cli/options.rb#L53
Since asciidoctorj-cli also has to pass it in an attribute to Asciidoctor, I'd personally say that it is ok to have it in Attributes.

@abelsromero abelsromero added question and removed bug labels Feb 13, 2024
@abelsromero
Copy link
Member Author

OK, I am not going to deny it's weird but I see it's referred to in the official docs also https://docs.asciidoctor.org/asciidoc/latest/attributes/document-attributes-ref/#intrinsic-attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants