some code cleanup

This commit is contained in:
Shannon
2018-11-22 15:26:10 +11:00
parent 3947a471be
commit 57074d3545
7 changed files with 25 additions and 46 deletions

View File

@@ -540,7 +540,7 @@ namespace Umbraco.Core
public static string StripHtml(this string text)
{
const string pattern = @"<(.|\n)*?>";
return Regex.Replace(text, pattern, String.Empty);
return Regex.Replace(text, pattern, string.Empty);
}
/// <summary>