-
Notifications
You must be signed in to change notification settings - Fork 23
Fix mutation operators not working in links and code blocks #1606
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
Conversation
🔍 Preview links for changed docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for tackling this!
Should SubstitutionRenderer.Write
reuse SubstitutionMutationHelper
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more change to ensure we don't needlessly roundtrip already parsed enums
src/Elastic.Markdown/Myst/InlineParsers/Substitution/SubstitutionParser.cs
Outdated
Show resolved
Hide resolved
src/Elastic.Markdown/Myst/InlineParsers/Substitution/SubstitutionMutationHelper.cs
Show resolved
Hide resolved
@Mpdreamz Seems like links get subs even when they're inside a subs=false code block (the example in the docs). Checking. |
OK, I think it's ready now :) |
Fixes #1605
Also adds tests for mutation operators.