Don't escape search term in modal twice
What does this MR do and why?
The "Search or go to..." modal escapes the search term with sprintf
in the bottom segment, which is unnecessary since the search term is already escaped by Vue when it gets displayed.
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 |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Click on the "Search or go to..." on a repo
- Enter a search query with a "
- Observe that there are no HTML entities displayed