diff --git a/src/utils/dom/constants.js b/src/utils/dom/constants.js index 4d776e40..bd257d00 100644 --- a/src/utils/dom/constants.js +++ b/src/utils/dom/constants.js @@ -18,7 +18,7 @@ export const STRIP_OUTPUT_TAGS = [ export const REMOVE_ATTRS = ['style', 'align']; export const REMOVE_ATTR_SELECTORS = REMOVE_ATTRS.map(selector => `[${selector}]`); export const REMOVE_ATTR_LIST = REMOVE_ATTRS.join(','); -export const WHITELIST_ATTRS = ['src', 'srcset', 'href', 'class', 'id', 'alt', 'score']; +export const WHITELIST_ATTRS = ['src', 'srcset', 'href', 'class', 'id', 'alt']; export const WHITELIST_ATTRS_RE = new RegExp(`^(${WHITELIST_ATTRS.join('|')})$`, 'i'); // removeEmpty