atpl
Version:
A complete and fast template engine fully compatible with twig and similar to jinja with zero dependencies.
11 lines (10 loc) • 352 B
JavaScript
;
var SandboxPolicy = (function () {
function SandboxPolicy() {
this.allowedTags = ['for', 'endfor', 'if', 'endif', 'include', 'sandbox', 'endsandbox'];
this.allowedFunctions = [];
this.allowedFilters = ['upper', 'default'];
}
return SandboxPolicy;
}());
exports.SandboxPolicy = SandboxPolicy;