private string SetMetaContent(string text)
{
try
{
string metaContent = ((IHtml)this._document.DocumentMetadata).GetHtml();
if (metaContent != String.Empty)
text = text.Replace("<!--meta-->", metaContent);
}
catch(Exception)
{
//unhandled only meta content wouldn't be displayed
}
return text;
}