Skip to content

Replace v-html with gl-sprintf in commits_header.vue

What does this MR do and why?

Replaces v-html in app/assets/javascripts/vue_merge_request_widget/components/states/commits_header.vue with gl-sprintf component which does exactly the same thing that sprintf helper function does, but in a component-friendly way.

Closes #241930 (closed).

Supersedes !41504 (closed).

Screenshots or screen recordings

How to set up and validate locally

Open an MR with a Ready to Merge status.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Stanislav Lashmanov

Merge request reports