Skip to content

Formatting incorrect for void tag helpers #12801

@ToddGrun

Description

@ToddGrun

Create a cshtml document with the following and then format:

<input type="checkbox">
<input type="checkbox">
<input type="checkbox">
<input type="checkbox">
<input type="checkbox">

<input type="checkbox" asp-for="AllowAuthorizationCodeFlow">
<input type="checkbox" asp-for="AllowAuthorizationCodeFlow">
<input type="checkbox" asp-for="AllowAuthorizationCodeFlow">
<input type="checkbox" asp-for="AllowAuthorizationCodeFlow">
<input type="checkbox" asp-for="AllowAuthorizationCodeFlow">

Expected: All indented to the same level
Actual: One the void tagHelpers are encountered, the indentation starts increasing.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions