Cshtml显示带有html标签的字符串

@{
                        
                      Var str
= Html.Raw(Mola.Admin.Web.Controllers.CMSController.getProperties( int .Parse(@ar.OnTop.ToString()),  int .Parse(@ar.IsElite.ToString()),@ar.ImgSrc.ToString(),  int .Parse(@ar.IsRedirect.ToString())));
                     }

你可能感兴趣的:(html标签)