ASP.NET MVC Razor render without encoding

后端 未结 7 2160
悲&欢浪女
悲&欢浪女 2020-11-29 02:42

Razor encodes string by default. Is there any special syntax for rendering without encoding?

相关标签:
7条回答
  • 2020-11-29 03:20

    HTML RAW :

    @Html.Raw(yourString)
    
    0 讨论(0)
提交回复
热议问题