diff options
| author | XhmikosR <[email protected]> | 2021-09-11 21:56:28 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2021-09-28 19:09:04 +0300 |
| commit | a74f33c40649711293a009ada8b7c21330a999a5 (patch) | |
| tree | bc0135f3bcfd45ed9a0a140038cd077e8e3c2317 /js/src/util/sanitizer.js | |
| parent | a82d31f4329c4dd8fabf258d807917dfed4dcca1 (diff) | |
| download | bootstrap-main-xmr-js-wip.tar.xz bootstrap-main-xmr-js-wip.zip | |
Prefer using function expressionsmain-xmr-js-wip
Diffstat (limited to 'js/src/util/sanitizer.js')
| -rw-r--r-- | js/src/util/sanitizer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/util/sanitizer.js b/js/src/util/sanitizer.js index 50199625e..a164936a7 100644 --- a/js/src/util/sanitizer.js +++ b/js/src/util/sanitizer.js @@ -82,7 +82,7 @@ export const DefaultAllowlist = { ul: [] } -export function sanitizeHtml(unsafeHtml, allowList, sanitizeFn) { +export const sanitizeHtml = (unsafeHtml, allowList, sanitizeFn) => { if (!unsafeHtml.length) { return unsafeHtml } |
