Skip to content

Commit b35ce12

Browse files
gauransh7rish9101
authored andcommitted
Add package dompurify to sanitize html in notice view content
1 parent ac8fbca commit b35ce12

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

omniport/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@fullcalendar/timegrid": "^5.1.0",
2929
"@tinymce/tinymce-react": "^2.6.1",
3030
"axios": "^0.18.0",
31+
"dompurify": "^2.3.1",
3132
"firebase": "^6.6.2",
3233
"immutable": "^3.8.1",
3334
"moment": "^2.24.0",

omniport/yarn.lock

+5
Original file line numberDiff line numberDiff line change
@@ -2832,6 +2832,11 @@ [email protected]:
28322832
dependencies:
28332833
domelementtype "1"
28342834

2835+
dompurify@^2.3.1:
2836+
version "2.3.1"
2837+
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-2.3.1.tgz#a47059ca21fd1212d3c8f71fdea6943b8bfbdf6a"
2838+
integrity sha512-xGWt+NHAQS+4tpgbOAI08yxW0Pr256Gu/FNE2frZVTbgrBUn8M7tz7/ktS/LZ2MHeGqz6topj0/xY+y8R5FBFw==
2839+
28352840
28362841
version "1.1.6"
28372842
resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.1.6.tgz#bddc3de099b9a2efacc51c623f28f416ecc57485"

0 commit comments

Comments
 (0)