X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fcore-utils%2Frenderer%2Fhtml.ts;fp=shared%2Fcore-utils%2Frenderer%2Fhtml.ts;h=877f2ec5505dff05f4a584396551df158de3dddf;hb=a4927884b224e3d4d78ff5db88cbb77bbdf8ee0b;hp=50230897939498f7e243ca6321d47fe569f77ba0;hpb=32fde390f465b9ceef9e49c4037acdacbe176d65;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/core-utils/renderer/html.ts b/shared/core-utils/renderer/html.ts index 502308979..877f2ec55 100644 --- a/shared/core-utils/renderer/html.ts +++ b/shared/core-utils/renderer/html.ts @@ -38,7 +38,11 @@ export function getCustomMarkupSanitizeOptions (additionalAllowedTags: string[] ...additionalAllowedTags, 'div', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'img' ], - allowedSchemes: base.allowedSchemes, + allowedSchemes: [ + ...base.allowedSchemes, + + 'mailto' + ], allowedAttributes: { ...base.allowedAttributes,