Skip to content

[html] Leading space character is removed when range formatting #58693

@simonschuh

Description

@simonschuh

Version

Version: 1.27.2 (user setup)
Commit: f46c4c4
Datum: 2018-09-12T16:17:45.060Z
Electron: 2.0.7
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architektur: x64

Steps to Reproduce

Example: <a class="btn"></a>

When i paste some text from clipboard with leading space e.g. " btn-link" the space is immediately removed.

Result: <a class="btnbtn-link"></a>
Expected: <a class="btn btn-link"></a>

When I undo, the space is back there.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughtmlHTML support issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions