purify-html

A minimalistic library for sanitizing strings so that they can be safely used as HTML.

v-purify-html

A custom directive for Vue that allows you to flexibly and easily control the output of potentially dangerous HTML.