Documentation ¶
Overview ¶
Package html implements an HTML5-compliant tokenizer and parser.
Currently, this package serves as a wrapper for the Go development team's official HTML5 processing library ("golang.org/x/net/html"). For library documentation, consult the upstream Go library.
This package will most likely be rewritten in the future to use document.Node and other structures common to all document formats instead of html.Node, which is HTML-specific.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBufferExceeded = html.ErrBufferExceeded
Functions ¶
func EscapeString ¶
func UnescapeString ¶
Types ¶
type Node ¶
func ParseWithOptions ¶
func ParseWithOptions(r io.Reader, opts ...ParseOption) (*Node, error)
type ParseOption ¶
type ParseOption = html.ParseOption
func ParseOptionEnableScripting ¶
func ParseOptionEnableScripting(enable bool) ParseOption
Click to show internal directories.
Click to hide internal directories.