@Alias GetHtml and FormatHtml
GetHtml
FormatHtml
Translates the given html applying string.Format(html, arguments.Select(a => HttpUtility.HtmlEncode(a))) to the current culture language.
The html will be kept as it is, while arguments will be automatically HTML Encoded
public static MvcHtmlString __(this CultureInfo culture, string html, params object[] arguments) { var result = new MvcHtmlString(string.Format(I18NComplete.GetText(html, lcid: culture.LCID), arguments.Select(a => HttpUtility.HtmlEncode(a)).ToArray())); return #if DEBUG I18NComplete.OnGetting__(result, culture, html, arguments) ?? #endif result; }