Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct {
Namespace, Key, Val string
}
Attribute exists so that this package does not export html.Attribute, to allow vendoring of "golang.org/x/net/html".
type Config ¶
type Config struct { Granularity int // how many letters to put together for a change, if possible InsertedSpan, DeletedSpan, ReplacedSpan []Attribute // the attributes for the span tags wrapping changes CleanTags []string // HTML tags to clean from the input }
Config describes the way that HTMLdiff works.
Click to show internal directories.
Click to hide internal directories.