Skip to content

JSX: Whitespace missing in emit for <something/> foo #4376

@basarat

Description

@basarat

Consider the following:

<div>word <code>code</code> word</div>

it emits :

React.createElement("div", null, "word ", React.createElement("code", null, "code"), "word");

Should emit:

React.createElement("div", null, "word ", React.createElement("code", null, "code"), " word");

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions