DEV Community

Suren Enfiajyan
Suren Enfiajyan

Posted on • Originally published at waspdev.com on

How to sanitize HTML text using only vanilla DOM API

A practical guide to sanitizing HTML text without using any third-party libraries, such as DOMPurify.

How to sanitize HTML text using only vanilla DOM API

Top comments (0)