Fix html code in post author's name

This commit is contained in:
morethanwords 2021-11-15 05:14:46 +04:00
parent 8c942ce791
commit ad66af68e7

View File

@ -39,7 +39,9 @@ export namespace MessageRender {
args.push(postViewsSpan, ' ', channelViews); args.push(postViewsSpan, ' ', channelViews);
if(postAuthor) { if(postAuthor) {
args.push(RichTextProcessor.wrapEmojiText(postAuthor), ', '); const span = document.createElement('span');
span.innerHTML = RichTextProcessor.wrapEmojiText(postAuthor);
args.push(span, ', ');
} }
} }