aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/internal/go_templates/texttemplate/exec.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-12-04 12:07:54 +0100
committerGitHub <[email protected]>2023-12-04 12:07:54 +0100
commit9f978d387f8b7cb6bc03fe6b4dd52bb16862a784 (patch)
treedc53e021fbf8a89e7ff0d3e86bbe9416ce5d7ecb /tpl/internal/go_templates/texttemplate/exec.go
parent14d85ec136413dcfc96ad8e4d31633f8f9cbf410 (diff)
downloadhugo-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.go5
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