Prevent inline LaTeX from overflowing parent

What does this MR do and why?

Prevent inline LaTeX from overflowing parent

References

  • #467090

Screenshots or screen recordings

Before After
Screenshot 2025-10-07 at 17.42.32.png Screenshot 2025-10-07 at 17.42.14.png

How to set up and validate locally

  1. Check out this branch
  2. Visit anywhere you can edit markdown in the GDK
  3. Add a really long string between dollar signs, like $aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa$
  4. Save your markdown
  5. You'll see that the latex string does not overflow the parent

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading