diff options
Diffstat (limited to 'vendor/github.com/tdewolff/parse/v2')
| -rw-r--r-- | vendor/github.com/tdewolff/parse/v2/html/lex.go | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/tdewolff/parse/v2/html/lex.go b/vendor/github.com/tdewolff/parse/v2/html/lex.go index 8fc9073d8..e3cb9bd04 100644 --- a/vendor/github.com/tdewolff/parse/v2/html/lex.go +++ b/vendor/github.com/tdewolff/parse/v2/html/lex.go @@ -184,6 +184,10 @@ func (l *Lexer) Next() (TokenType, []byte) {  			} else if c == '!' {  				l.r.Move(2)  				return l.readMarkup() +			} else if 0 < len(l.tmplBegin) && l.at(l.tmplBegin...) { +				l.r.Move(len(l.tmplBegin)) +				l.moveTemplate() +				l.hasTmpl = true  			} else if c == '?' {  				l.r.Move(1)  				return CommentToken, l.shiftBogusComment()  | 
