Escapes content for prevention of XSS attacks.