Project

General

Profile

Actions

Defect #18223

closed

Table renders wrong if a trailing space is after | symbol

Added by René van Dorst over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Text formatting
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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

redmine_18223.diff (1.53 KB) redmine_18223.diff Jens Krämer, 2015-08-18 11:36

Related issues

Related to Redmine - Defect #14038: Ordered/unordered lists inside table cell are mangledReopenedJean-Philippe Lang

Actions
Actions #1

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from New to Closed

#14038 is still open.

Actions #2

Updated by Toshi MARUYAMA over 9 years ago

  • Related to Defect #14038: Ordered/unordered lists inside table cell are mangled added
Actions #3

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from Closed to New
Actions #4

Updated by @ go2null over 9 years ago

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.

Actions #5

Updated by Jens Krämer over 8 years ago

Attached is a patch that fixes this (without breaking the original fix from #14038). Test case included.

Actions #6

Updated by Toshi MARUYAMA over 8 years ago

  • Target version set to 3.2.0
Actions #7

Updated by Jean-Philippe Lang over 8 years ago

  • 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.

Actions

Also available in: Atom PDF