Render snippet title_html in snippet list view

What does this MR do and why?

Render title_html for snippet titles in the snippet list view, fixing an inconsistency between the single-snippet view (updated in !242858 (merged)) and the list view.

References

Screenshots or screen recordings

Before After
image.png image

How to set up and validate locally

  1. Create a snippet with a title containing supported markup, e.g. Hello `world` :fox.
  2. You should see the markup rendered in the title of the snippet view.
  3. Visit the snippet list (e.g. /-/snippets).
  4. It should display literally, i.e. you see what you typed, nothing interpreted.
  5. Check this branch out and refresh the list.
  6. You should see it rendered there too now!

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