-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate better HTML and map that HTML to the correct place in the Razor document #7564
Comments
@ryanbrandenburg it's not clear why it's important as we've seen no customers using this style. For now, backlog-ing. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Here's another example: <style>
@{
}
</style> The above will result in |
Hmm? The |
@mkArtakMSFT what do you think about the priority on this given the above info? |
Thanks for contacting us. |
Discussed this with @danroth27: we'll queue this up for .NET 7. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Fixing this would also be a better solution for the workaround implemented in #6597 |
Describe the bug
To support work such as https://github.com/dotnet/aspnetcore/issues/32820 it is a requirement that the Generated html from Razor have "Mapping" behavior like we have with C#. Here's an example of why it's needed:
This code currently generates warnings because the analyzers think we don't have a "body" element. Emitting
won't work because then everything that checks html (like diagnostics) will be off-by-one on that line, and similarly adding a space instead of the
!
breaks everything.CC @NTaylorMullen who I talked about this with.
The text was updated successfully, but these errors were encountered: