- Today MVC has specific rules about resolving Razor attribute values. Ex: `true` => attribute name being used as attribute value. This change ensures that unbound complex `TagHelper` attribute use that same logic. - Added configuration to `GeneratedTagHelperContext` for `AddHtmlAttributeValues`. - Had to be careful with code generating `AddHtmlAttributeValues`. In the case of `data-`; they can appear as complex attributes but may not contain any pieces that are `DynamicAttributeBlockChunk`s. Had to protect against this scenario. - Updated existing test files. - Added a new code gen test case to showcase the various use-cases of unbound dynamic `TagHelper` attributes. #247 |
||
|---|---|---|
| .. | ||
| Chunks/Generators | ||
| CodeGenerators | ||
| Editor | ||
| Framework | ||
| Parser | ||
| TagHelpers | ||
| TestFiles | ||
| Text | ||
| Tokenizer | ||
| Utils | ||
| CSharpRazorCodeLanguageTest.cs | ||
| Microsoft.AspNet.Razor.Test.xproj | ||
| RazorCodeLanguageTest.cs | ||
| RazorEngineHostTest.cs | ||
| RazorErrorTest.cs | ||
| RazorTemplateEngineTest.cs | ||
| SourceLocationTest.cs | ||
| StringTextBuffer.cs | ||
| project.json | ||