Work items: 23386

This commit is contained in:
hartvig
2011-09-14 19:13:24 -02:00
parent 62249b989b
commit 8dcc8251f5

View File

@@ -1499,7 +1499,7 @@ namespace umbraco
{
if (String.IsNullOrEmpty(text))
return "";
text = text.Trim().Replace("\n", string.Empty).Replace("\r", string.Empty);
if (text.Length > 5)
{
if (text.ToUpper().Substring(0, 3) == "<P>")