zHaytam / SmartBreadcrumbs

A utility library for ASP.NET Core (both MVC and Razor Pages) websites to easily add and customize breadcrumbs.
https://blog.zhaytam.com/2018/06/24/asp-net-core-using-smartbreadcrumbs/
MIT License
161 stars 77 forks source link

Added optional support for IHtmlContent titles #90

Open theFra985 opened 3 years ago

theFra985 commented 3 years ago

I thought it could be useful to support having an IHtmlContent instance in a ViewData-derived title to allow non-encoded HTML labels. I think instancing a TextWriter is wasteful but I didn't want to change the class structure too much to use the ProcessAsync StringBuilder instance directly.

sianmace commented 8 months ago

I notice this used to work (v2.1.0) until I updated to the most recent version of SmartBreadcrumbs - 3.6.1 Can this change request be allowed - otherwise i will need to stick at an old version?