Razor view engine automatically applying quotes?

前端 未结 3 1295
借酒劲吻你
借酒劲吻你 2021-01-03 19:07

I\'m fairly used to razor now, but I can\'t understand why the following syntax is correct?

  • @Html.ActionLin
  • 3条回答
    •  爱一瞬间的悲伤
      2021-01-03 19:26

      Just come across this so thought would answer - SLaks looks right with Html.Raw, but the OP is also correct in that the second method doesn't look to work - the "s get encoded.

      My solution was:

      
      

    提交回复
    热议问题