mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Add mx-reply to dompurify's list so we can ignore it ourselves.
This commit is contained in:
parent
305fab467e
commit
753bb8392b
@ -56,6 +56,7 @@ class HTMLParseResult {
|
||||
|
||||
const sanitizeConfig = {
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user