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

Lowercase attribute names when storing them #508

Closed
mojavelinux opened this issue Jul 17, 2013 · 1 comment
Closed

Lowercase attribute names when storing them #508

mojavelinux opened this issue Jul 17, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@mojavelinux
Copy link
Member

Currently, Asciidoctor lowercases attribute names when resolving them. However, it does not also lowercase attribute names passed in as arguments to the processor. As a result, it's not possible for a document to resolve an attribute that contains upper case characters in this case.

For example, given the following invocation:

$ asciidoctor -a publishURL=http://example.com sample.adoc

the following attribute reference will resolve to nil:

{publishURL}

That's because the stored name, publishURL, does not match the lookup name, publishurl.

@mojavelinux
Copy link
Member Author

This is a bug fix, so it should not affect documentation (given that it's implementing the behavior already described).

mojavelinux added a commit that referenced this issue Aug 8, 2013
resolves #508 lowercase attribute names passed to API
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

1 participant