Skip to content

Add "opts.tagNames" and "opts.nodeTypes" for ".toJSON" method #9

@azaslavsky

Description

@azaslavsky

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions