public static EncodeEntities ( string content ) : string | ||
content | string | |
return | string |
/// <summary> /// Encodes internal HTML entities in specified value. /// </summary> public static XElement XValue(this XElement element, string value) { element.Value = PageDocument.EncodeEntities(WebUtility.HtmlEncode(value)); return(element); }