我发表了一篇文章使用ckeditor。
文章内容为<p><strong>my first publish</strong></p>。
为了避免xss,所以在我的aspx页面做Sanitizer.GetSafeHtmlFragment(content).
但结果是<p>my first publish</p>。强标签被删除。如何避免这种情况?
对不起,我的英语不好!
我发表了一篇文章使用ckeditor。
文章内容为<p><strong>my first publish</strong></p>。
为了避免xss,所以在我的aspx页面做Sanitizer.GetSafeHtmlFragment(content).
但结果是<p>my first publish</p>。强标签被删除。如何避免这种情况?
对不起,我的英语不好!