摘要: 在显示新闻内容的时候会出现显示内容出错存在兼容问题用方法去除样式public static string RemoveHtml(string htmlstring) { //删除脚本 htmlstring = Regex.Replace(htmlstring, @"", "", RegexOptions.IgnoreCase); //删除HTML htmlstring = Regex.Replace(htmlstring, @"]*)>", "", RegexOptions.IgnoreCase); // H 阅读全文
posted @ 2014-02-08 14:43 李翠华 阅读(217) 评论(0) 推荐(0) 编辑