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

run resolvers for substitution references in all phases #674

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

jenshalm
Copy link
Contributor

@jenshalm jenshalm commented Jan 1, 2025

Substitution references in markup blocks (in the syntax ${some.ref}) were previously only resolved in the last rewrite step.
This PR allows them to be resolved in any phase, meaning the first time they are encountered.

This is the 2nd step to make the fix in #670 actually useful, as the late resolving step prevented the section builder from seeing headers in the AST that were inserted by directives.

@jenshalm jenshalm added this to the 1.3.1 milestone Jan 1, 2025
@jenshalm jenshalm merged commit 55e2c4d into main Jan 1, 2025
21 checks passed
@jenshalm jenshalm deleted the core/substitutions-in-all-phases branch January 1, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant