Browse Source

Fix html code in post author's name

master
morethanwords 3 years ago
parent
commit
ad66af68e7
  1. 4
      src/components/chat/messageRender.ts

4
src/components/chat/messageRender.ts

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

Loading…
Cancel
Save