Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The original issue with columns H and I hidden and the cell cpntaining "Ground Up" and "Primary" both being 3 cells wide and each incorporating one of the hidden columns.
![](https://user-images.githubusercontent.com/1333451/211591729-709244c1-71be-46fe-824d-4d0438c921dc.png)
![](https://user-images.githubusercontent.com/1333451/211592424-7f5d96a4-e7d1-4be3-bdd4-a443e6829dd5.png)
When converted to HTML became
Which has:
It now becomes
![](https://user-images.githubusercontent.com/1333451/211592644-39b1de94-1d8b-4006-afd2-c5964093b25f.png)
Which is correct for both "Ground Up" and "Primary", both visible and both 2 cells wide.
The modifications needed to fix the merged cell-hidden columns conflict are all in the file sc/source/filter/html/htmlexp.cxx.
This fixes the issues related to generating HTML from spreadsheets that were notified notified these are:
In addition:
These have all been fixed, however there is still a related defect:
This has not been fixed as it was deemed that it would take longer that is reasonable for what is expected to be a vanishingly rare event, this is left as technical debt.