Razor - HTML.RAW does not output text

前端 未结 5 1570
情话喂你
情话喂你 2020-12-09 14:45

I have tried all solution proposed to other, similar questions but none of them seems to work. In essence I am trying to display a table filled with data from collection of

5条回答
  •  青春惊慌失措
    2020-12-09 15:38

    Enclosing Html.Raw with @( and ) solved the issue for me. Eventhough there were outer @{ and } , it still needed @( and ) around each Html.Raw statement.

提交回复
热议问题