private void LogTableContents()
{
//html may have javascript which has braces which will kill the string.format in WriteEvent
var safeContents = TextContentsOfTable.Replace("{", "{{").Replace("}", "}}");
Logger.WriteEvent("***UpdateVersionTable contents are " + Environment.NewLine + safeContents);
}