How to retain an empty table row?
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.4k
- Forks
- 361
- Avg merge
- 3d 41m
- Merged PRs (30d)
- 2
Description
Hi,
I would like to retain an empty table row (<tr></tr>) but can not figure out the right combination of settings.
I tried to add tr to AutoFormat.RemoveEmpty.Predicate on the demo page but that does not work.
The actual use case is copy-pasting a table (fragment) form Excel or LibreOffice Calc with merged cells.
In this particular case the rowsapn attribute is added to all cells of the first row and hence the removal of the empty row results in an unwanted representation of the table as can be observed in the provided example above.
Any help is highly appreciated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked demo configuration and the AutoFormat.RemoveEmpty.Predicate and AutoFormat.RemoveEmpty settings. Reproduce the supplied table with merged cells and rowspan attributes; done means the intentionally empty is retained without breaking the surrounding table structure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100