/// <summary> /// Encodes strings for use in HTML /// </summary> /// <param name="text">Text to convert</param> /// <returns>HTML-encoded string</returns> public static string HtmlEncode(this string text) { return(MarkupHelper.HtmlEncode(text)); }