WikiCrawler/Utility/StringUtility.cs
/// <summary>
/// Removes certain HTML tags if they are enclosing the entire string.
/// </summary>
Removes certain HTML tags if they are enclosing the entire string.
Removes certain HTML tags if they are enclosing the entire string .
public static string TrimSingleEnclosingTags(this string text)
	{
		text = TrimSoloPair(text, "<text>", "</text>");
		text = TrimSoloPair(text, "<p>", "</p>");
		text = TrimSoloPair(text, "<span>", "</span>");
		return text;
	}
public static string TrimSingleEnclosingTags ( this string text ) { text = TrimSoloPair ( text , " " , " " ) ; text = TrimSoloPair ( text , " " , " " ) ; text = TrimSoloPair ( text , " " , " " ) ; return text ; }
Removes certain HTML tags if they are enclosing the entire string.
Removes certain HTML tags if they are enclosing the entire string .
string
this