Add slashes to head tags