diff options
Diffstat (limited to 'vendor/github.com/tdewolff/parse/v2/html/lex.go')
-rw-r--r-- | vendor/github.com/tdewolff/parse/v2/html/lex.go | 1 |
1 files changed, 1 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 2c47d2527..4325024bd 100644 --- a/vendor/github.com/tdewolff/parse/v2/html/lex.go +++ b/vendor/github.com/tdewolff/parse/v2/html/lex.go @@ -123,6 +123,7 @@ func (l *Lexer) Next() (TokenType, []byte) { if l.rawTag != 0 { if rawText := l.shiftRawText(); len(rawText) > 0 { + l.text = rawText l.rawTag = 0 return TextToken, rawText } |