Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Issue: HtmlHelper.AttributeEncode doesn't support IHtmlString [1202]

$
0
0
There's an overload for HtmlHelper.AttributeEncode(object) that converts the input to a string, and then calls HtmlAttributeEncode -- this prevents correct processing of a pre-encoded object that implements IHtmlString.

This is likely the case because there's an existing function HttpUtility.HtmlEncode(object), but no corresponding overload HttpUtility.HtmlAttributeEncode(object).

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>