This code:
@{
RenderFragment fragment =
@<Component1 Id="Comp1"
Caption="Title">
</Component1>;
}
Will be incorrectly formatted.
After format the @<Component will be moved to the beginning of the line while the attribute Caption will be aligned with the previous location of the Id attribute.
Note: There are (skipped) tests that cover this scenario in HtmlFormattingTest.cs
This code:
Will be incorrectly formatted.
After format the
@<Componentwill be moved to the beginning of the line while the attributeCaptionwill be aligned with the previous location of theIdattribute.Note: There are (skipped) tests that cover this scenario in
HtmlFormattingTest.cs