摘要:
asp.net 前台显示换行的几种处理方式,以替换为住,js/C#处理@Html.Raw(info.Summary.Replace("\n", ""))@Html.Raw(System.Text.RegularExpressions.Regex.Replace(info.Summary, @"\n", ""))function ReplaceRntoHtmlBR(str) { var reg1 = new RegExp("\n", "gi"); var reg2 = new 阅读全文