页面输出:html
html源码:spa
<div style="width: 90%; height: auto;"> <p>付凯航 阿豆 ADOU</p> </div>
解决方案:code
@Html.Raw(ViewData["str"].ToString())