Skip to content

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

Merged
merged 10 commits into from
Jul 23, 2025

Conversation

theletterf
Copy link
Contributor

@theletterf theletterf commented Jul 23, 2025

Fixes #1605

Also adds tests for mutation operators.

@theletterf theletterf requested a review from a team as a code owner July 23, 2025 11:16
@theletterf theletterf self-assigned this Jul 23, 2025
@theletterf theletterf added the fix label Jul 23, 2025
@theletterf theletterf requested a review from a team as a code owner July 23, 2025 11:32
Copy link

github-actions bot commented Jul 23, 2025

🔍 Preview links for changed docs

Copy link
Member

@Mpdreamz Mpdreamz left a 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 ?

Copy link
Member

@Mpdreamz Mpdreamz left a 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

@theletterf theletterf requested a review from Mpdreamz July 23, 2025 13:02
@theletterf theletterf changed the title Add tests and fix subs Fix mutation operators not working in links and code blocks Jul 23, 2025
@theletterf
Copy link
Contributor Author

@Mpdreamz Seems like links get subs even when they're inside a subs=false code block (the example in the docs). Checking.

@theletterf
Copy link
Contributor Author

OK, I think it's ready now :)

@theletterf theletterf merged commit 6c41484 into main Jul 23, 2025
17 checks passed
@theletterf theletterf deleted the theletterf-fix-versions-inline branch July 23, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mutation operators do not work with version variables in code blocks and links
2 participants