我正在使用富文本编辑器在产品页面上显示描述,但页面呈现为:
<p>text description</p>
描述的宏是:
剃刀语法:
@foreach ( var page in @Model.Children)
{
<div id="productSection">
<div id="productstext">
<div id="image">
<a href="@page.Url"><img src="@page.productImage" height="200px" width="230px"/></a> </div>
<div id="title">
<h3>@page.GetProperty("productTitle") </h3> </div>
<div id="description">
@page.GetProperty("product") </div>
</div>
</div>
}
提前谢谢