c# - How to insert a HTML character into this Html.ActionLink? -


i'm using following code generate this:

<p>@html.actionlink("read", "index", "news", null, new { @class = "btn btn-default" })</p> 

enter image description here

but want make button looks (with use of html character &raquo;): enter image description here

however when following:

<p>@html.actionlink("read &raquo;", "index", "news", null, new { @class = "btn btn-default" })</p> 

i this:

enter image description here

how fix this?

the text encoded actionlink() implementation, don't need it. use char in string.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -