From 6a32de4b47287c1df3869f4500770188c34cb798 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sat, 18 Apr 2015 12:28:22 -0600 Subject: [PATCH] Use text/template because html shouldn't be escaped for this --- middleware/templates/templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/templates/templates.go b/middleware/templates/templates.go index 183d4a02..e641fd7d 100644 --- a/middleware/templates/templates.go +++ b/middleware/templates/templates.go @@ -1,9 +1,9 @@ package templates import ( - "html/template" "net/http" "path" + "text/template" "github.com/mholt/caddy/middleware" )