asp.net mvc - Html.raw("test string") not displaying string with double quotes around it -


i have string 'test string" being displayed on html page but

html.raw("test string")

hides string when there double quotes around string, don't see in page text field

does know how can fix this?

you must escape special characters, such quotes, using \ character.

in example be

html.raw("\"test string\"") 

Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -