Fix html code in post author's name
This commit is contained in:
parent
8c942ce791
commit
ad66af68e7
@ -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, ', ');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user