I need to create a link with caption "next + →". Is there any way 开发者_如何学Pythonto create Html.ActionLink without caption encoding?
I've run into this issue and didn't find an easy way around it. Sadly the title parameter is a simple System.String
instead of an MvcHtmlString
.
When my team needed unencoded titles, we just fell back to anchor tags.
<a href="Url.Action(/* etc. */)">raw html</a>
精彩评论