projects
/
arvados-workbench2.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba12e33
)
21026: cleanup Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
21026-sanitize-html
author
Lisa Knox <lisaknox83@gmail.com>
Thu, 19 Oct 2023 14:47:25 +0000
(10:47 -0400)
committer
Lisa Knox <lisaknox83@gmail.com>
Thu, 19 Oct 2023 14:47:25 +0000
(10:47 -0400)
src/common/html-sanitize.ts
patch
|
blob
|
history
diff --git
a/src/common/html-sanitize.ts
b/src/common/html-sanitize.ts
index 79ed93495842af2cf76351aa23d1e316ebfae21d..e7c66f11e78dce595286e8cddada6666969d43df 100644
(file)
--- a/
src/common/html-sanitize.ts
+++ b/
src/common/html-sanitize.ts
@@
-37,12
+37,12
@@
const domPurifyConfig: TDomPurifyConfig = {
'pre',
's',
'del',
+ 'section',
+ 'span',
'strong',
'sub',
'sup',
'ul',
- 'span',
- 'section'
],
ALLOWED_ATTR: ['src', 'width', 'height', 'href', 'alt', 'title', 'style' ],
};