Hi
I have experienced the table border thing too. If you do
ed.ExecCommand("ToggleBorder");
before the getHTML line then the border style will disappear. If you are having problems with this command in the HTML view you can switch views before getting the HTML.
ed.ExecCommand(
"tabedit");
This will goto normal view or thinking about it......
If the HTML is fine in the preview view, then switch it to the preview view and then get the HTML, then you wont need to worry about the toggleborder bit.
Hope this helps.