mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-05 10:08:59 +00:00
Web apps' "Export to Excel" often writes an HTML table and names it .xls. GridCraft read such a file as CSV text, so it opened as lines of markup in column A. Excel opens the table (after warning that the format and the extension don't match). Opening a file whose bytes are a web page with a table now reads the first table as a sheet, through the clipboard HTML table reader: the cells go through the CSV reader, so values read as they do in a CSV (and stay text with csvAsText); <th> cells are bold and centred; the sheet takes the page's <x:Name> or the file's name. A page that isn't named .htm/.html opens with a warning saying what it is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>