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 -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

html - href attribute breaking an element -