diff --git a/src/templates/chatroom_details_modal.js b/src/templates/chatroom_details_modal.js index 68527a836..f6fffeb02 100644 --- a/src/templates/chatroom_details_modal.js +++ b/src/templates/chatroom_details_modal.js @@ -40,7 +40,7 @@ const i18n_topic_author = __('Topic author'); const subject = (o) => html` -
${i18n_topic}: ${unsafeHTML(xss.filterXSS(o.subject.text, {'whitelist': {}}))}
+${i18n_topic}: ${unsafeHTML(xss.filterXSS(o.subject.text, {'whiteList': {}}))}
${i18n_topic_author}: ${o.subject && o.subject.author}
`; diff --git a/src/templates/emoji_picker.js b/src/templates/emoji_picker.js index 08a5aea3d..6e9975a30 100644 --- a/src/templates/emoji_picker.js +++ b/src/templates/emoji_picker.js @@ -10,7 +10,7 @@ const skintones = ['tone1', 'tone2', 'tone3', 'tone4', 'tone5']; const emoji_category = (o) => { - const category_emoji = unsafeHTML(xss.filterXSS(o.transformCategory(o.emoji_categories[o.category]), {'whitelist': {'img': []}})); + const category_emoji = unsafeHTML(xss.filterXSS(o.transformCategory(o.emoji_categories[o.category]), {'whiteList': {'img': []}})); return html`