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>
but want make button looks (with use of html character »
):
however when following:
<p>@html.actionlink("read »", "index", "news", null, new { @class = "btn btn-default" })</p>
i this:
how fix this?
the text encoded actionlink() implementation, don't need it. use char in string.
Comments
Post a Comment