Odkażył HTML przed przechowywaniem do DB w JS

npm install sanitize-html
Venkatesh Medisetti