Home

Export to HTML file problem

The html export feature seems to produce some archaic looking html which is actually incomplete and invalid. Generate a Dump() table, View in grid, Export to HTML file and open the generated file in your favourite editor (I used Visual Studio 2022). The tags are all uppercase, the </HTM? end tag is incomplete and the TH and THEAD elements produce warnings.

Can someone confirm I'm not hallucinating this in the latest release? -- Cheers, Greg

Comments

  • @gfkeogh said:
    Can someone confirm I'm not hallucinating this in the latest release? -- Cheers, Greg



    Confirmed.

    Strangely, despite the errors/warnings it seems to display correctly in Edge and FireFox although it doesn't look anywhere near as pretty as either Export to Html from the results tab or File.WriteAllText( ... , Util.ToHtmlString( ... )); and so consequently I rarely use it.

  • It's using a built-in capability of the DataGridView control. I'll look into whether this can be improved.

Sign In or Register to comment.