Versions in this module Expand all Collapse all v2 v2.9.17 May 14, 2021 Changes in this version + func EscapeAttrVal(buf *[]byte, orig, b []byte, isXML bool) []byte + type Hash uint32 + const Iframe + const Math + const Plaintext + const Script + const Style + const Svg + const Textarea + const Title + const Xmp + func ToHash(s []byte) Hash + func (i Hash) String() string + 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 CommentToken + const DoctypeToken + const EndTagToken + const ErrorToken + const MathToken + const StartTagCloseToken + const StartTagToken + const StartTagVoidToken + const SvgToken + const TextToken + func (tt TokenType) String() string