mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-01 22:42:45 +02:00
Pull in the latest code from Go's template packages (#11771)
Fixes #10707 Fixes #11507
This commit is contained in:
committed by
GitHub
parent
14d85ec136
commit
9f978d387f
@@ -222,6 +222,10 @@ const (
|
||||
// Discussion:
|
||||
// Package html/template does not support actions inside of JS template
|
||||
// literals.
|
||||
//
|
||||
// Deprecated: ErrJSTemplate is no longer returned when an action is present
|
||||
// in a JS template literal. Actions inside of JS template literals are now
|
||||
// escaped as expected.
|
||||
ErrJSTemplate
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user