Go to file
Ryan Nowak f19dc08305 Fix dotnet/aspnetcore-tooling#10498 - void elements with directive attributes
This change updates tag helper binding logic to allow directive
attributes (when they appear alone) to bind to any kind of tag
(start/end, void, self-closing).

Tag Helpers don't have a semantic that allows this level of flexibility
- using StartTagOnly as suggested in the issue means that this would
*only* work for void elements.

There's no change to any of the directive attribute implementations
because this is a global change in the tag helper infra.
\n\nCommit migrated from fd72afc1c6
2019-10-04 13:46:01 -07:00
src Fix dotnet/aspnetcore-tooling#10498 - void elements with directive attributes 2019-10-04 13:46:01 -07:00