DTcms.Common\Utils.cs
#region 清除HTML标记
public static string DropHTML(string Htmlstring)
中的
Htmlstring.Replace("<", "");
Htmlstring.Replace(">", "");
Htmlstring.Replace("\r\n", "");
Htmlstring.Replace(" ", "");
中的 Htmlstring.Replace(" ", ""); 改为
Htmlstring = Regex.Replace(Htmlstring, @" ", "", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"&", "", RegexOptions.IgnoreCase);
Htmlstring = Regex.Replace(Htmlstring, @"emsp;", "", RegexOptions.IgnoreCase);