This commit is contained in:
Lone Iversen
2023-10-11 11:19:37 +02:00
parent a5477a8e09
commit 26c6c876c8

View File

@@ -1,4 +1,7 @@
import DOMPurify from 'isomorphic-dompurify';
//Note: isomorphic-dompurify is a project that sets up DOMPurify for us, and is recommended by DOMPurify
/** The library makes it possible to seamlessly use DOMPurify on server and client in the same way.
* It does nothing by itself except providing an isomorphic/universal wrapper around DOMPurify, so all credits go to DOMPurify authors and contributors.
* https://github.com/kkomelin/isomorphic-dompurify
*/
export { DOMPurify };