Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 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 io.Reader) *Lexer + func (l *Lexer) AttrVal() []byte + func (l *Lexer) Err() error + func (l *Lexer) Next() (TokenType, []byte) + func (l *Lexer) Restore() + 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