An HtmlOutput object that can be served from a script. Due to security considerations,
scripts cannot directly return HTML to a browser. Instead, they must sanitize it so that it
cannot perform malicious actions. You can return sanitized HTML like this:
function doGet() {
return HtmlService.createHtmlOutput('<b>Hello, world!</b>');
}
HtmlOutput
iframe
sandboxing
guide to restrictions in HTML service
An HtmlOutput object that can be served from a script. Due to security considerations, scripts cannot directly return HTML to a browser. Instead, they must sanitize it so that it cannot perform malicious actions. You can return sanitized HTML like this:
HtmlOutput iframe sandboxing guide to restrictions in HTML service