Skip to content

Mage package container div className contains useless space #3

@ronkorving

Description

@ronkorving

See: https://github.com/mage/loader.js/blob/master/Package.js#L426
This trailing space seems innocent enough, but has been seen to trigger an error in the wild where class names were being parsed and turned into a selector (mage-package.mage-page. was the outcome).

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