Skip to content

Resolve "Autocomplete dropdown for usernames shows HTML if you attempt to search for a username that starts with a period"

What does this MR do?

This fixes the issue described in #60552 (closed) by escaping the period (.) character when being highlighted in the dropdown for user tagging.

It does so by overriding the default highlighting from At.js which just escaped the + character. Theoretically, you could escape all regex special characters here, but I don't think that's necessary right now.

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Closes #60552 (closed)

Merge request reports