DamianEdwards / RazorSlices

Lightweight Razor-based templates for ASP.NET Core without MVC, Razor Pages, or Blazor.
MIT License
297 stars 12 forks source link

Ensure HtmlEncoder in DI is used if there is one #26

Closed DamianEdwards closed 1 year ago

DamianEdwards commented 1 year ago

If IServiceCollection.AddWebEncoders() was called we should make sure we use the HtmlEncoder instance in DI.

DamianEdwards commented 1 year ago

This was done in v0.6.0