Versions in this module Expand all Collapse all v2 v2.9.17 May 14, 2021 Changes in this version + func EscapeAttrVal(buf *[]byte, b []byte) []byte + func EscapeCDATAVal(buf *[]byte, b []byte) ([]byte, bool) + type Lexer struct + func NewLexer(r *parse.Input) *Lexer + func (l *Lexer) AttrVal() []byte + func (l *Lexer) Err() error + func (l *Lexer) Next() (TokenType, []byte) + func (l *Lexer) Text() []byte + type TokenType uint32 + const AttributeToken + const CDATAToken + const CommentToken + const DOCTYPEToken + const EndTagToken + const ErrorToken + const StartTagClosePIToken + const StartTagCloseToken + const StartTagCloseVoidToken + const StartTagPIToken + const StartTagToken + const TextToken + func (tt TokenType) String() string