diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-12-04 12:07:54 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-12-04 12:07:54 +0100 |
commit | 9f978d387f8b7cb6bc03fe6b4dd52bb16862a784 (patch) | |
tree | dc53e021fbf8a89e7ff0d3e86bbe9416ce5d7ecb /tpl/internal/go_templates/texttemplate/exec.go | |
parent | 14d85ec136413dcfc96ad8e4d31633f8f9cbf410 (diff) | |
download | hugo-9f978d387f8b7cb6bc03fe6b4dd52bb16862a784.tar.gz hugo-9f978d387f8b7cb6bc03fe6b4dd52bb16862a784.zip |
Pull in the latest code from Go's template packages (#11771)
Fixes #10707
Fixes #11507
Diffstat (limited to 'tpl/internal/go_templates/texttemplate/exec.go')
-rw-r--r-- | tpl/internal/go_templates/texttemplate/exec.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tpl/internal/go_templates/texttemplate/exec.go b/tpl/internal/go_templates/texttemplate/exec.go index 597866c68..73153c764 100644 --- a/tpl/internal/go_templates/texttemplate/exec.go +++ b/tpl/internal/go_templates/texttemplate/exec.go @@ -7,12 +7,13 @@ package template import ( "errors" "fmt" - "github.com/gohugoio/hugo/tpl/internal/go_templates/fmtsort" - "github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate/parse" "io" "reflect" "runtime" "strings" + + "github.com/gohugoio/hugo/tpl/internal/go_templates/fmtsort" + "github.com/gohugoio/hugo/tpl/internal/go_templates/texttemplate/parse" ) // maxExecDepth specifies the maximum stack depth of templates within |