- Involved updating the HtmlMarkupParser to properly separate data- attributes. Prior to this change `data-foo="abc @DateTime.Now def"` would involve 1 Span for `data-foo="abc` 1 Span for `@DateTime.Now` and 1 Span for `def"`. This was very unique behavior from an attribute standpoint (as far as Razor is concerned) and made it difficult for the TagHelper rewriting system to rewrite attributes. With this change it gets broken out as follows: `|data-foo="|abc| @DateTime.Now| def|"|`. - Added unit tests to validate the various ways you can write unbound data- attributes. - Updated the BasicTagHelpers codegeneration test to intermix some unbound data- attributes. #342 |
||
|---|---|---|
| .. | ||
| Microsoft.AspNet.Razor.Runtime.Test | ||
| Microsoft.AspNet.Razor.Test | ||