summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/templates/tplcontext_test.go
AgeCommit message (Collapse)Author
2020-04-06templates: Use text/template; add experimental notice to docsMatthew Holt
Using html/template.HTML like we were doing before caused nested include to be HTML-escaped, which breaks sites. Now we do not escape any of the output; template input is usually trusted, and if it's not, users should employ escaping actions within their templates to keep it safe. The docs already said this.
2019-12-23templates: Change functions, add front matter support, better markdownMatthew Holt
2019-06-30Add licenseMatthew Holt
2019-06-27Use html/template for escaping by defaultMatthew Holt
Allow HTML only with a few specific functions
2019-06-21OopsMatthew Holt
2019-06-18templates: Remove context functions implemented by sprigMatthew Holt
2019-06-18Implement templates handler; various minor cleanups and bug fixesMatthew Holt