Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
Some new improvements:
IHtmlElement (and therefore HtmlTag and HtmlText) now inherit from IHtmlContent. This means you can now just @(... some HTML tag) from within Razor and it'll render just fine without having to call .ToHtml() or having to register a base Razor ViewPage base class!
Added extra tricks when parsing IHtmlContent to take into account some special scenarios. For example, when parsing a TagBuilder we just read its properties instead of rendering it and putting it through the Agility pack pipeline.
Circumvent a Razor rendering bug by always providing empty content to tags
Add attribute shorthand for 'Src'