private string TagBlockQuotes(string body)
{
var tagged = body;
var m = blockQuote.Match(tagged);
while (m.Success)
{
var quote = tagged.Substring(m.Index, m.Length);
var lines = quote.Split('\n');
tagged = tagged.Remove(m.Index, m.Length);
if (lines.Length < 4)
{
tagged = tagged.Insert(m.Index, " •BQS• ");
}
else if (lines.Length < 11)
{
tagged = tagged.Insert(m.Index, " •BQM• ");
}
else
{
tagged = tagged.Insert(m.Index, " •BQL• ");
}
m = blockQuote.Match(tagged);
}
return tagged;
}