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:
Steve Howell 2013-05-07 15:32:57 -04:00 committed by Tim Abbott
parent 23c729a904
commit cee31a4f4e

View File

@ -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) + " &lt;" + hilite(query, person.email) + "&gt;";
}
exports.initialize = function () {