📄 htmlscrubbingmodule.cs
字号:
//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
// Copyright (c) Telligent Systems Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System;
using System.Xml;
using CommunityServer.Components;
namespace CommunityServer.Files.Components
{
/// <summary>
/// Summary description for HtmlScrubbingModule.
/// </summary>
public class HtmlScrubbingModule : BaseFilesFormattedBodyModule
{
public HtmlScrubbingModule()
{
//
// TODO: Add constructor logic here
//
}
protected override void Format(Entry e)
{
e.FormattedBody = HtmlScrubber.Clean(e.FormattedBody,false,true);
}
protected override void Format(EntryComment ec)
{
ec.FormattedBody = HtmlScrubber.Clean(ec.FormattedBody,false,true);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -