Hi Guys,

I have various custom tag helpers which for example adds a CDN to any image src locations. It works great if you declare an <img> tag in a cshtml. However if I put an <img> tag in content page body, tag helpers are not applied. e.g. the following code would not apply any img tag helpers:
@Html.Raw("<img class=\"img-fluid\" src=\"/images/uploaded/jane_review.jpg\">")


Anyone have any suggestions how I can run tag helpers or similar over html content stored in the database? I know I could do a string search and replace before writing to Html.Raw but hoping for a better solution.

Thanks.