Sitefinity 文本换行符

Sitefinity Text line breaks

在我的模型中,我有带标签的文本,我想用 html
标签替换它。我确实搜索并表明使用 Html.Encode 可能有用,但没有用。

is there another way to do this in the cshtml file?

@Html.Encode(Model.Desceiption).Replace("<cr>", "<br>") 

我想你想要

@Html.Raw(...)