It is necessary to escape the characters {{}} and @ in a certain place in the file and order the Razor engine not to react to them.
How to do it?
|
1 answer
It seems to have found such an option. If someone else knows, please write.
@Html.Raw("My text{{My_Param1_1}}") - What line do you expect as a result?
@Html.Raw("My text{{My_Param1_1}}")orMy text{{My_Param1_1}})? - Anton Komyshan - @ "Anton Komyshan" My text {{My_Param1_1}} - in principle, this option works - Rakzin Roman
|