Skip to content

tagName property is always undefined #16

@blackmambahk

Description

@blackmambahk

there is a problem with parse.js line 67:

byTag[current.tagName] = current;

current.tagName is always undefined.

In parse-tag.js line 33 the property 'name' is set not tagName as referenced above:
res.name = match;

I think it should be 'tagName' as 'name' can conflict with an attribute 'name' in an Input tag for example..

Also 'byTag' seems to be unused so could be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions