Skip to content

Is html-minifier have reserved name list ? #794

@ausir0726

Description

@ausir0726

When I use compress html

<div class="add">test</div>

it will have an error

TypeError: b[c].push is not a function

I found that because class name add is reserved name .
I guess that will trigger some add function.
I know that is not a good class name design ,
but I got template from other guy , so I need fix it ,
just want ask is html-minifier have reserved name list .
and is this error need a clear error message ? ( because my template is not simple like my example )

thanks .

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