public static string ParseForSave(int postUserID, string content, bool allowHtml, bool allowUbb) { BlogArticleUbbParser parser = new BlogArticleUbbParser(allowHtml, allowUbb); content = parser.UbbToHtml(content); content = EmoticonParser.ParseToHtml(postUserID, content, true, true); return(content); }
public static string ParseForSave(int userID, string Signature) { SignatureParser parser = new SignatureParser(userID); Signature = parser.UbbToHtml(Signature); Signature = EmoticonParser.ParseToHtml(userID, Signature, parser.TagSettings.AllowUserEmoticon, parser.TagSettings.AllowDefaultEmoticon); return(Signature); }