Skip to content

Markdown editor doesn't increment points in numbered lists on enter #33184

Closed
@TheFox0x7

Description

@TheFox0x7

Description

When making a numbered list the editor always inserts 1. as next item.

Reproduction steps:

  1. Make an issue
  2. Make a numbered list with more than one point
  3. Next point is always 1.

This has no impact on later rendering of the list, numbers are correct there.
https://demo.gitea.com/TheFox0x7/runs-on_bug/issues/1

Screenshots

image

Gitea Version

2298ff2

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

Linux

Browser Version

Firefox 133.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions