Add mx-reply to dompurify's list so we can ignore it ourselves.
This commit is contained in:
parent
305fab467e
commit
753bb8392b
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ class HTMLParseResult {
|
||||||
|
|
||||||
const sanitizeConfig = {
|
const sanitizeConfig = {
|
||||||
ALLOWED_URI_REGEXP: /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|xxx|mxc):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))/i,
|
ALLOWED_URI_REGEXP: /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|xxx|mxc):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))/i,
|
||||||
|
ADD_TAGS: ['mx-reply']
|
||||||
}
|
}
|
||||||
|
|
||||||
export function parseHTML(html) {
|
export function parseHTML(html) {
|
||||||
|
|
Reference in a new issue