How render twig with xss

I have a page in html format.
I render this them:
{{ content | raw }}
but if user print i have xss attack