Escape quotes in $templateCache contents