aspnet / Razor

[Archived] Parser and code generator for CSHTML files used in view pages for MVC web apps. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
883 stars 226 forks source link

Change malformed tag handling logic #2644

Closed ajaybhargavb closed 5 years ago

ajaybhargavb commented 5 years ago

For malformed cases like,

<p><strong>Hello</p>

Hello needs to be a child of strong and not p. I had the wrong assumption when writing this logic at first.