using System; using System.Collections.Generic; using System.Linq; using System.Text; using PJonDevelopment.BBCode; namespace FLocal.Common.BBCodes { class Spoiler : BBCode { public Spoiler() : base("spoiler") { } public override string Format(ITextFormatter formatter) { string marker = this.Default; if(marker == null) marker = "Spoiler"; return "
" + marker + "
" + this.GetInnerHTML(formatter).Trim() + "


"; } } }