private void RenderTag(HtmlTag tag)
{
try
{
if (this.htmlFilter == null || this.htmlFilter.FilterTag(tag))
{
this.htmlWriter.WriteTag(tag);
this.taxonomy |= tag.Taxonomy;
}
}
catch (Exception ex)
{
try { this.WriteLiteral("[ERROR: "+ex.Message+"]"); }
catch { }
}
}