Defect #18223
closed
Table renders wrong if a trailing space is after | symbol
Added by René van Dorst almost 10 years ago.
Updated almost 9 years ago.
Description
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 |
Files
- Status changed from New to Closed
- Related to Defect #14038: Ordered/unordered lists inside table cell are mangled added
- Status changed from Closed to New
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.
- Target version set to 3.2.0
- Subject changed from Table renders wrong is a space is after | symbol. to Table renders wrong if a trailing space is after | symbol
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Patch committed in r14611, thanks.
Also available in: Atom
PDF