Fixes in spoiler tag

main
Inga 🏳‍🌈 15 years ago
parent face9828ee
commit 8b83a99e0d
  1. 2
      Common/BBCodes/Spoiler.cs

@ -14,7 +14,7 @@ namespace FLocal.Common.BBCodes {
public override string Format(ITextFormatter formatter) {
string marker = this.Default;
if(marker == null) marker = "Spoiler";
return "<blockquote spoiler><font opener class=\"small\" onClick=\"showSpoiler(this)\">" + marker + "</font><hr/><div inner name=\"inner\">" + this.GetInnerHTML(formatter).Trim() + "</div><hr/></blockquote><br/>";
return "<blockquote spoiler><font opener class=\"small\" onClick=\"showSpoiler(this)\">" + marker + "</font><hr/><div inner name=\"inner\" style=\"display:none\">" + this.GetInnerHTML(formatter).Trim() + "</div><hr/></blockquote><br/>";
}
}

Loading…
Cancel
Save