Use safe_format over format(ERB::Util.html_escape(...))

What does this MR do and why?

Uses the more concise safe_format over format(ERB::Util.html_escape(...)). Applies a change similar to !223287 (merged).

How to set up and validate locally

  1. go to a project's integration page and select an integration with Issue URL field (for example, https://gitlab.com/<NAMESPACE>/<PROJECT_NAME>/-/settings/integrations/bugzilla/edit)
  2. verify HTML is not changed as this is only a maintenance patch
before after (no change)
image image

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 Jonston Chan

Merge request reports

Loading