Project

General

Profile

Actions

Defect #40515

closed

Displaying issue descriptions in the issues list ignores CommonMark table alignment

Added by Go MAEDA 9 months ago. Updated 7 months ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When configuring the "Text formatting" setting to "CommonMark Markdown", the rendered tables within issue descriptions default to a centered alignment regardless of the alignment specified in the markup (left, center, or right).

This issue does not occur when the "Text formatting" setting is set to the deprecated Redcarpet-based Markdown.

The markup of the issue description:

| name | value |
|:-----|------:|
| a    | 1     |
| bb   | 22    |
| ccc  | 333   |

Issues list with description (Markdown):

Issues list with description (CommonMark):


Files

issues-list-markdown.png (49 KB) issues-list-markdown.png Go MAEDA, 2024-04-02 10:52
issues-list-commonmark.png (49 KB) issues-list-commonmark.png Go MAEDA, 2024-04-02 10:53
40515.patch (620 Bytes) 40515.patch Takenori TAKAKI, 2024-04-10 07:31
Actions #1

Updated by Takenori TAKAKI 9 months ago

I made a patch to fix this issue by adding a css that sets text-align according to the align attribute (left or right) set in th/td tags.

Actions #2

Updated by Go MAEDA 9 months ago

  • Tracker changed from Feature to Defect
  • Target version set to 5.0.9
  • Affected version set to 5.0.0

Setting the target version to 5.0.9.

Actions #3

Updated by Go MAEDA 8 months ago

  • Status changed from New to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix in r22787. Thank you for your contribution.

Actions #4

Updated by Go MAEDA 7 months ago

  • Target version changed from 5.0.9 to 5.0.10
Actions #5

Updated by Go MAEDA 7 months ago

  • Status changed from Resolved to Closed
  • Target version changed from 5.0.10 to 6.0.0
Actions

Also available in: Atom PDF