Escape before adding to DOM