Skip to content

cannot insert a <div>, automatically corrects to </div> #80600

Closed
microsoft/azuredatastudio
#7206
@chrisdias

Description

@chrisdias

Mac and Windows
Insiders and 1.38 Stable
All extensions disabled

This looks like a regression.

Consider the following HTML:

<!DOCTYPE html>
<html>
<head>
</head>

<body>
    <div>
         <!-- put cursor here, type in "<div>" then press enter result is "</div>"  -->
    </div>
</body>
</html>

If you put the cursor inside the first <div> and then try to create another div:

image

And then press enter, the result is </div>.

image

In 1.37.1 stable, i get what i expect:

image

Metadata

Metadata

Assignees

Labels

candidateIssue identified as probable candidate for fixing in the next releaseregressionSomething that used to work is now brokenverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions