Implementing IHtmlString would make it easier to incorporate Elements or other components based on Elements into Razor views. I think if Node implemented IHtmlString then that would allow Element, Fragment, Node, and Text to be rendered in a Razor view without needing to call ToString() and MvcHtmlString.Create(). Any thoughts/concerns?
Implementing
IHtmlStringwould make it easier to incorporate Elements or other components based on Elements into Razor views. I think ifNodeimplementedIHtmlStringthen that would allowElement,Fragment,Node, andTextto be rendered in a Razor view without needing to callToString()andMvcHtmlString.Create(). Any thoughts/concerns?