-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this
Milestone
Description
Not sure if it has been reported yet, tried to find similar issues but didn't find anything.
TypeScript Version:
1.9.0-dev.20160518-1.0
Code
// A self-contained demonstration of the problem follows...
<div name="test"
data="test"
onClick={() => { }}
>
<div>test</div>
</div>
Expected behavior:
Same as in example
Actual behavior:
<div name="test"
onClick={() => { } }
data="test"
>
<div>test</div>
</div>
- Attributes need to aligned and take indentation from top attribute (name)
- Closing tag indentation is a bit strange - any way to make it have same indentation level as opening one?
b3n01t, ctizen, Vadorequest and codler
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this