Composer: Fix XSS in draft
This commit is contained in:
parent
e898c03d43
commit
0f242d0598
@ -325,7 +325,7 @@ function renderMessagePart(
|
||||
}
|
||||
|
||||
if (shouldRenderAsHtml) {
|
||||
return renderText(content, ['emoji_html', 'br_html']);
|
||||
return renderText(content, ['escape_html', 'emoji_html', 'br_html']);
|
||||
}
|
||||
|
||||
const emojiFilter = shouldRenderHqEmoji ? 'hq_emoji' : 'emoji';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user