(We have escape code already on the server side.)

You could do your first publish and do something similar here. :-)