Skip to content

HTML Comments cause an exception #8

@runningskull

Description

@runningskull

The error triggers on line 552 because t1.attributes is undefined.

The fix might be as simple as adding a check like

t1.attributes ? slice.call(...) : []

(and same for t2 on next line), but I haven't tested it yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions