diff --git a/Common/BBCodes/Quote.cs b/Common/BBCodes/Quote.cs
index ced7d04..05af91b 100644
--- a/Common/BBCodes/Quote.cs
+++ b/Common/BBCodes/Quote.cs
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
+using FLocal.Core;
using PJonDevelopment.BBCode;
namespace FLocal.Common.BBCodes {
@@ -12,9 +13,11 @@ namespace FLocal.Common.BBCodes {
}
public override string Format(ITextFormatter formatter) {
+ string inner = this.GetInnerHTML(formatter).TrimHtml();
+ if(inner == "") return "";
string marker = this.Default;
if(marker == null) marker = "Quote:";
- return "
" + marker + "
" + this.GetInnerHTML(formatter).Trim() + "
" + marker + "
" + inner + "