Skip to content

JSX formatting inside of tag #8817

Closed
@maximkochmin

Description

@maximkochmin

TypeScript Version:

1.8.9

Code

// A self-contained demonstration of the problem follows...
<div>{integer}<span>,{fraction}</span></div>

Expected behavior:
Same as in example

Actual behavior:

<div>{integer}<span>, {fraction}</span></div>

Formatter inserts space after the comma inside tags

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions