Make sure to escape quotes in the templates