Ignore math on spaced_link_filter

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.

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

  1. Navigate to an issue, for example, http://127.0.0.1:3000/flightjs/Flight/-/issues/39
  2. Insert math with the link syntax to comment, for example using $[(a+b)c](d+e)$
  3. Verify that the result is rendered correctly

Related to #463330 (closed)

Edited by Samuel Suikkanen

Merge request reports

Loading