Vote #75694
完了Table renders wrong if a trailing space is after | symbol
0%
説明
Also mentioned by Stephan Brönnimann in #14038#note-8
Table renders wrong is a space is after | symbol.
| 1.1 | 1.2 | | 2.1 | 2.2 | <-space here | 3.1 | 3.2 | | 4.1 | 4.2 |
| 1.1 | 1.2 |
| 2.1 | 2.2 |
| 3.1 | 3.2 |
| 4.1 | 4.2 |
journals
#14038 is still open.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
I am not sure this is a defect.
Any character after the | works as a line continuation character to have multi-line text in a cell, or to dynamically create a multi-column table.
With this view, the issue is more that the space is not visible in the browser, so the user doesn't know it there.
However, if you *Preview* (or after *Submit*) it is easily spotted and corrected.
--------------------------------------------------------------------------------
Attached is a patch that fixes this (without breaking the original fix from #14038). Test case included.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Patch committed in r14611, thanks.
--------------------------------------------------------------------------------
related_issues
relates,Reopened,14038,Ordered/unordered lists inside table cell are mangled