diff --git a/src/html/template/context.go b/src/html/template/context.go index c28fb0c5ea8ef3..e07a0c4a027d06 100644 --- a/src/html/template/context.go +++ b/src/html/template/context.go @@ -128,6 +128,10 @@ const ( stateJSBlockCmt // stateJSLineCmt occurs inside a JavaScript // line comment. stateJSLineCmt + // stateJSHTMLOpenCmt occurs inside a JavaScript HTML-like comment. + stateJSHTMLCloseCmt // stateCSS occurs inside a