/// <summary> /// Strips all markup tags from the provided string /// </summary> /// <param name="markup">A string with markup</param> /// <returns>Text without markup</returns> /// <example> /// Example markup: /// <html><body style="color: black;"><p>This is some text</p></body></html> /// Result after markup-strip: /// This is some text /// </example> /// <remarks>This method can be used as an extension method.</remarks> public static string StripMarkup(this string markup) { return(MarkupHelper.StripMarkup(markup)); }