I use chartist.js to make my chart. this is type of its input
it needs Quotation both sides,but I can't make it
Asked
Active
Viewed 43 times
0
Community
- 1
- 1
alireza jafari
- 61
- 7
-
you said that you need "double Quotation" [ " ] but in the images you try to use single Quotation [ ' ], is it a mistake? – Valeriu Seremet Mar 02 '20 at 08:52
-
I'm sorry it needs Quotation both sides (you can see that in the first picture) – alireza jafari Mar 02 '20 at 08:54
-
Try using @Html.Raw() – Valeriu Seremet Mar 02 '20 at 09:01
-
Wow,it works!Thanks a lot ! but why I should use Html.Raw? – alireza jafari Mar 02 '20 at 09:25
-
I guess you already googled it, but just in case: https://stackoverflow.com/questions/35105587/how-does-html-raw-mvc-helper-work – Valeriu Seremet Mar 02 '20 at 11:52
1 Answers
0
Html.Raw renders what it is given without doing any html encoding
Html.Raw Method asks the Razor Engine to do not encode the special chars.
So you can solve this by using @Html.Raw()
kgajjar20
- 311
- 2
- 7