Open azaslavsky opened 9 years ago
opts.nodeTypes should replace opts.htmlOnly, which is too narrow of a spec. opts.tagNames should be FilterList type field to specify which HTML tags to include/exclude, and should default to true.
opts.nodeTypes
opts.htmlOnly
opts.tagNames
FilterList
true
opts.nodeTypes
should replaceopts.htmlOnly
, which is too narrow of a spec.opts.tagNames
should beFilterList
type field to specify which HTML tags to include/exclude, and should default totrue
.