Asp.net core razor view is not formatted

  Uncategorised

The razor view formatting is so bad
even when I tried ctrl k + ctrl d

the page is so missed up

any help, please!

enter image description here

     @if (item.Details.Length > 10)
                        {
    @item.Details.ToString().Substring(0, 10) }
else
{
@item.Details}

Source: Visual Studio Questions

LEAVE A COMMENT