Code.gs
function doPost(e) {
...
template.data += getCustomerData + "
";
}
return template.evaluate().setSandboxMode(H
By default the strings are sanitized, converting special characters to their HTML encoded equivalents (such as < becoming <).
When outputting HTML you must use <?!= to avoid sanitizing the data.
<?!= data ?>
See the details on standard & force-printing scriptlets here: https://developers.google.com/apps-script/guides/html/templates#standard_scriptlets