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 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); }