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

fix regexes in #quote-paragraph rule, and downstream #768

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewcarver
Copy link

Addresses a problem in the grammar: As it stands, the regex in rule #quote-paragraph will not match any block-attribute-list that contains, itself, an inline macro -- such as a URL macro or a bibliographic-citation macro. Downstream from that rule, there are weaknesses also in the #block-attribute-inner rule. The fixes I've applied here are based on earlier discussion of this whole matter in atom-language-asciidoc PR 197 -- where there are screen-shots and syntax-examples.

Resolves #767.

As it stands, the regex in #quote-paragraph will not match any block-attribute-list that contains, itself, an inline macro -- such as a URL macro or a bibliographic-citation macro. Downstream from that rule, there are weaknesses also in the #block-attribute-inner rule. The fixes I've applied here are based on earlier discussion of this whole matter at asciidoctor/atom-language-asciidoc#197 -- where there are screen-shots and syntax-examples (too bad I was barking up the wrong tree ... Atom instead of VS Code!!).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grammar rule won't match block-attribute-list that contains an inline macro
1 participant