Home Rendering Quotation Marks in a @Html.Raw() Syntax

# Rendering Quotation Marks in a @Html.Raw() Syntax

Emre Sevim
1#
Emre Sevim Published in 2018-01-12 23:11:27Z
 Trying to render this syntax in a Partial View:  @Html.Raw("")  ..but quotation marks inside html sentence are producing problem. I tried as far:  @Html.Raw("")  the result is deplorable indeed.
2#
 You need to escape the quote characters in C#, not in html. So you'd need to do this: @Html.Raw("
SoronelHaetir
3#
SoronelHaetir Reply to 2018-01-12 23:15:53Z
 Use the &jquot; and ' entities, They will get translated to the characters for display.
 You need to login account before you can post.
Processed in 0.316626 second(s) , Gzip On .