-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.13.0, 8.2.2, 8.3.3
-
None
-
7.13
-
1
-
Severity 3 - Minor
-
0
-
Issue Summary
Wiki markup is inconsistent in how it treats empty cells in a table.
Steps to Reproduce
- Try creating a table where the empty cell is there, but there is no space within this empty cell.
For Example:|1|ABC|Yes|Yes|Yes| |2||No|No|Yes| |3|XYZ|Yes||| |4||No|Yes|No|
- When it tries to render, wiki markup considers this empty cell as no cell. Hence the result is like this:
1 ABC Yes Yes Yes 2 No No Yes 3 XYZ Yes 4 No Yes No - Now create a table where empty cells are there, and there's space in the empty cells. For example:
| 1 | ABC | Yes | Yes | Yes | | 2 | | No | No | Yes | | 3 | XYZ | Yes | | | | 4 | | No | Yes | No |
- In this case, wiki markup translates it as a cell with no content/empty cell. Hence it gets rendered like this:
1 ABC Yes Yes Yes 2 No No Yes 3 XYZ Yes 4 No Yes No
Expected Results
The table should be rendered correctly.
Actual Results
The table is not rendered correctly.
Notes
In the first example, it does not require space to consider a cell as a cell. See |Sunday|, it gets rendered as a cell even though there is no space there. Now, when there is || which doesn't have space either, but it doesn't take it as a cell. Both of them have no space.
Able to replicate this behavior on 7.13.0, 8.2.2
Workaround
The workaround is to have space in the empty cells so that the table is rendered correctly.