mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
Fix unescaped angle brackets in search typeahead.
This was a pretty recent regression in the logic for highlighting search typeaheads. (imported from commit ba226f9cc7d6b09744ea07ef516fee280f23e048)
This commit is contained in:
parent
23c729a904
commit
cee31a4f4e
@ -192,7 +192,7 @@ exports.update_button_visibility = function () {
|
||||
|
||||
function highlight_person(query, person) {
|
||||
var hilite = typeahead_helper.highlight_query_in_phrase;
|
||||
return hilite(query, person.full_name) + " <" + hilite(query, person.email) + ">";
|
||||
return hilite(query, person.full_name) + " <" + hilite(query, person.email) + ">";
|
||||
}
|
||||
|
||||
exports.initialize = function () {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user