- To write a start tag only `TagHelper` you can now utilize the `TagStructure` property on the `TargetElement` attribute. If none is specified it'll be treated as unspecified and default to old behavior of being start/end tag or self-closing. - Added `TagMode` to showcase what the user initially wrote in their Razor document. This way `TagHelper`s can flow end-to-end in thesame format as they were written with. - Updated code generation to specify `TagMode` instead of the boolean self-closing. - Updated existing tests to move from `SelfClosing` => `TagMode`. - Added `TagStructure` related tests to the set of tests that we currently have for `TagHelperBlockRewriter` and `TagHelperParseTreeRewriter`. #450 |
||
|---|---|---|
| .. | ||
| Output | ||
| Source | ||