Skip to content

Wrong linenumber in search-result, when line is to long #29136

Closed
@zokkis

Description

@zokkis

Description

When creating files with extra long lines, the text wraps and the linenumber is on the wrong line

Gitea Version

1.21.5

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image
Line 9 should be the line with "89485bfaa6a42365fbb052f9b34fc809e1bf6d3ed0c3b29376a22104030780c12"

Git Version

No response

Operating System

No response

How are you running Gitea?

Download and systemd

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions