Skip to content

JSX: Whitespace in properties is lost #896

Closed
@zpao

Description

@zpao

It looks like we're doing some current position moving incorrectly. @jeffmo, @syranide - do you know if this is something that's getting fixed with the whitespace PR or is this a separate problem?

<Component something="       a bug        " />

becomes

Component( {something:       " a bug "        } )

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