Example #1
0
		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;
		}
Example #2
0
        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);
        }