C# Class Utility.UbbHelper

UBB代码助手类
FileName: UbbHelper.cs CLRVersion: 4.0.30319.18444 Author: Devin DateTime: 2016/3/13 15:20:50 GitHub: https://github.com/v5bep7/Utility
Show file Open project: v5bep7/Utility

Public Methods

Method Description
Decode ( string ubbCode, bool withNoFollow = true ) : string

解析Ubb代码为Html代码

Private Methods

Method Description
DecodeAlign ( string ubb ) : string
DecodeBlank ( string ubb ) : string
DecodeColor ( string ubb ) : string
DecodeFont ( string ubb ) : string
DecodeHeading ( string ubb ) : string
DecodeImage ( string ubb ) : string
DecodeLinks ( string ubb ) : string
DecodeLinksWithNoFollow ( string ubb ) : string
DecodeList ( string ubb ) : string
DecodeQuote ( string ubb ) : string
DecodeStyle ( string ubb ) : string

Method Details

Decode() public static method

解析Ubb代码为Html代码
public static Decode ( string ubbCode, bool withNoFollow = true ) : string
ubbCode string Ubb代码
withNoFollow bool a标签是否不生成NoFollow,默认为true
return string