Skip to content

Commit

Permalink
feat: allow align attribute in email templates
Browse files Browse the repository at this point in the history
  • Loading branch information
KishenKumarrrrr committed Feb 14, 2024
1 parent 1c9bcee commit de6a801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/src/templating/xss-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const isCid = (urlStr: string): boolean => {
return urlStr.startsWith('cid:')
}

const DEFAULT_EMAIL_ATTRS = ['style']
const DEFAULT_EMAIL_ATTRS = ['style', 'align']
export const XSS_EMAIL_OPTION = {
whiteList: {
span: DEFAULT_EMAIL_ATTRS,
Expand Down

0 comments on commit de6a801

Please sign in to comment.