Render snippet title HTML in frontend

What does this MR do and why?

Follow-up to Render snippet title in backend using issuable ... (!242856 - merged) • Asherah Connor • 19.2; makes the corresponding frontend changes necessary to actually see the rendered snippet title HTML.

References

Fixes Render non-block (Markdown and/or HTML) markup ... (#577274).

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Create a snippet with a title that contains a backtick code block. For example: yummy `snippy` wahoo. It should render per "Before" above.
  2. Check out this branch.
  3. Edit the snippet title in some way so the Markdown cache isn't reused; e.g. add a letter to one of the words.
  4. Save. It should look like the "After" branch!

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.

Edited by Asherah Connor

Merge request reports

Loading