Skip to content

Markdown table layout regression #34696

Closed
@witten

Description

@witten

Description

There's apparently a regression in which the layout of markdown tables (e.g. in the wiki) appears broken, such that some cells are squashed horizontally to the point of unreadibility. In older versions of Gitea (1.23.x), this was not an issue, and markdown tables rendered correctly.

This behavior occurs in Both Firefox and Chromium. Here is a demo site repro of the problem: https://demo.gitea.com/witten/test/wiki/Home

And here is the markdown in question:

# example repro

| date       | description | mileage | vendor
| ---------- | ----------- | ------- | --------
| 2024-12-08 | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis. Tempus leo eu aenean sed diam urna tempor. Pulvinar vivamus fringilla lacus nec metus bibendum egestas. Iaculis massa nisl malesuada lacinia integer nunc posuere. Ut hendrerit semper vel class aptent taciti sociosqu. Ad litora torquent per conubia nostra inceptos himenaeos. | 1,234 | Example Vendor

Screenshots

Image

Gitea Version

1.24.0

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

Manjaro Linux stable

Browser Version

Firefox 139.0 / Chromium 137.0.7151.68

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions