aspnetcore/test
N. Taylor Mullen b25bf01158 Add TagHelper support for unbound data- attributes.
- 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
2015-05-18 22:43:03 -07:00
..
Microsoft.AspNet.Razor.Runtime.Test Add `[HtmlAttributeName(..., DictionaryAttributePrefix="prefix")]` part II 2015-05-15 23:17:52 -07:00
Microsoft.AspNet.Razor.Test Add TagHelper support for unbound data- attributes. 2015-05-18 22:43:03 -07:00