fix(mail): Fix highlighsearch html rendering on subject

This commit is contained in:
smizrahi
2024-09-04 18:03:36 +02:00
parent 41a0f8d9af
commit 0cbd082c1d
2 changed files with 4 additions and 3 deletions
@@ -551,8 +551,8 @@
Message.prototype.getHighlightFrom = function () {
var i = 0;
for (i = 0; i < this.from.length; i++) {
this.from[i].full = this.highlightSearchTerms(this.from[i].full, false);
this.from[i].name = this.highlightSearchTerms(this.from[i].name, false);
this.from[i].fullHighlighted = this.highlightSearchTerms(this.from[i].full, false);
this.from[i].nameHighlighted = this.highlightSearchTerms(this.from[i].name, false);
}
return this.from;