Ignore math on spaced_link_filter
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do and why?
Ignore math on spaced_link_filter
Markdown link syntax can now be used in math expressions without losing characters.
Changelog: fixed
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
- Fixes: #463330 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
| before_patch | after_patch |
How to set up and validate locally
- Navigate to an issue, for example, http://127.0.0.1:3000/flightjs/Flight/-/issues/39
- Insert math with the link syntax to comment, for example using
$[(a+b)c](d+e)$ - Verify that the result is rendered correctly
Related to #463330 (closed)
Edited by Samuel Suikkanen