You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated output is now sent directly to the provided TextWriter (without additional buffering) when no layout is used (#13).
This reverts a change introduced in v0.5.0.
Added a RazorTemplate.FlushAsync method which writes the buffered content to the provided TextWriter and flushes the writer. This may be useful when rendering a template to a stream. See #13.
Added support for layout pages and sections in HTML templates:
Write a layout with @inherits RazorBlade.HtmlLayout, and specify the layout to use in a page with:
@{Layout=newLayoutToUse();
}
Used SearchValues<char> in .NET 8 for HTML escaping