private void AppendChild(string text)
{
if (String.IsNullOrEmpty(text))
{
return;
}
if (this.current == null)
{
this.current = this.document;
}
// this allows HTML entities to be encoded as unicode
text = HtmlDistiller.DecodeHtmlEntities(text);
JbstLiteral literal = new JbstLiteral(text, true);
this.current.ChildControls.Add(literal);
}