diff --git a/ui/src/chat.ts b/ui/src/chat.ts index 3ce6f11112f..4d0bc92c936 100644 --- a/ui/src/chat.ts +++ b/ui/src/chat.ts @@ -56,6 +56,7 @@ config({ whiteList: Object.assign({}, getDefaultWhiteList(), { video: ['src', 'controls', 'width', 'height', 'preload', 'playsinline'], source: ['src', 'type'], + a: ['href', 'style'], input: ['class', 'disabled', 'type', 'checked'], sup: ['data-title'], iframe: [ diff --git a/ui/src/main.ts b/ui/src/main.ts index fd6ea852af0..0ace0737f62 100644 --- a/ui/src/main.ts +++ b/ui/src/main.ts @@ -58,6 +58,7 @@ config({ whiteList: Object.assign({}, getDefaultWhiteList(), { video: ['src', 'controls', 'width', 'height', 'preload', 'playsinline'], source: ['src', 'type'], + a: ['href', 'style'], input: ['class', 'disabled', 'type', 'checked'], sup: ['data-title'], iframe: [