@switch (true)
{
case true:
{
<p>this is a text https://example.org<h3>Test</h3></p>
}
break;
}
And then look at this with a multi-line comment, this is just ridiculous:
@switch (true)
{
case true:
{
<p>this is a text https:/*example.org<h3>Test</h3></p>
}
break;
}
@code {
private int Something = 0;
}
(Obviously GitHub's syntax highlighter is utterly broken, since it is based on silly regex instead of a proper parser, so it won't display properly. I can only hope based on this phenomenon it is not the case for Razor...)
VS 17.13.0 P1 .NET 9.0.100
https://github.com/user-attachments/assets/78d0c135-612d-4e42-94ed-25a10cbdfa1f
Minimal repro, having a simple URL:
And then look at this with a multi-line comment, this is just ridiculous:
(Obviously GitHub's syntax highlighter is utterly broken, since it is based on silly regex instead of a proper parser, so it won't display properly. I can only hope based on this phenomenon it is not the case for Razor...)