- `ParentTag` allows `TagHelper`s to restrict where they apply based on their immediate parent tag. - Changed the `TagHelperParseTreeRewriter` to understand non-`TagHelper` HTML elements to properly determine a parent tag when applying `TagHelperDescriptor.RequiredParent`. This change will also enable `[RestrictChildren]` to apply to more than just `TagHelper`s. - Added tests to validate that partial and well formed tags properly discover `TagHelper`s. Also added tests that validate that descriptors are properly created based on `TagHelper` types. #474 |
||
|---|---|---|
| .. | ||
| 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 | ||