Update truncato gem

What does this MR do and why?

The truncato gem us used in the simple_search_highlight_and_truncate method to format search results in global search, but it's currently mangling non-ASCII characters. @terrichu discovered that this bug in the library has been fixed in a patch version, so we can address this problem by simply updating the gem.

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
gdk.test_3443_search_scope_users_search_schne_C3_AD__1_ gdk.test_3443_search_scope_users_search_schne_C3_AD

How to set up and validate locally

  1. Check out this branch
  2. In the GDK, ensure there is a user with an accented character (for example, í) in their name
  3. Go to /search in the GDK and search for that user
  4. The accented character(s) in the user's name will display correctly
  5. You can repeat steps 2-4 for milestones, projects, and issues with accents in their name
Edited by Chad Lavimoniere

Merge request reports

Loading