コード例 #1
0
 /// <summary>
 /// Converts plain Text to HTML. Includes handling of line breaks and such.
 /// </summary>
 /// <param name="text">Text to convert</param>
 /// <returns>HTML</returns>
 public static string ToHtml(this string text)
 {
     return(MarkupHelper.PlainTextToHtml(text));
 }