这里有一个问题,我尝试从此行EPiServer代码中删除所有html标记
@(Html.PropertyFor(m => m.MainBody)
因为这假定在<a>example code here</a>内部
<a>example code here</a>
运行EPi Server时解决此问题的好方法是什么?
首先,以这种方式使用XhtmlString是一种不好的做法,因为我们并不是总能选择。
XhtmlString