caddy/modules/caddyhttp/templates
Matthew Holt 437d5095a6
templates: Use text/template; add experimental notice to docs
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.
2020-04-06 12:51:53 -06:00
..
caddyfile.go Improve godocs all around 2019-12-23 12:45:35 -07:00
frontmatter.go templates: Change functions, add front matter support, better markdown 2019-12-23 12:56:41 -07:00
templates.go templates: Use text/template; add experimental notice to docs 2020-04-06 12:51:53 -06:00
tplcontext_test.go templates: Use text/template; add experimental notice to docs 2020-04-06 12:51:53 -06:00
tplcontext.go templates: Use text/template; add experimental notice to docs 2020-04-06 12:51:53 -06:00