How do I output raw html when using RazorEngine (NOT from MVC)

前端 未结 6 1688
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-24 04:34

I am trying to generate emails with HTML content. this content has already gone through sanitation so I am not worried in that regard, however when I call:

         


        
6条回答
  •  不思量自难忘°
    2020-12-24 04:56

    FYI I have a fork that includes the @Html.Raw(...) syntax here:

    https://github.com/Antaris/RazorEngine/pull/105

提交回复
热议问题