Underscore at the end of URLs not displayed as link / link gets modified #5325

Closed
opened 2025-11-02 06:21:38 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @cyb3rko on GitHub (Apr 29, 2020).

Description

If you paste a link, which ends with an underscore, in a release in a repository, the underscore at the end is shown as a text and the link doesn't work anymore because of the missing underscore.

Is there a way to escape that problem or does it have to be fixed by the developers?

Screenshots

image

Originally created by @cyb3rko on GitHub (Apr 29, 2020). - Gitea version (or commit ref): 1.12.0+dev-222-gd26aee383 - Git version: 2.24.3 - Operating system: Docker - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (example URL: https://try.gitea.io/nikothegreek/testtest/releases) - [ ] No - [ ] Not relevant ## Description If you paste a link, which ends with an underscore, in a release in a repository, the underscore at the end is shown as a text and the link doesn't work anymore because of the missing underscore. Is there a way to escape that problem or does it have to be fixed by the developers? ## Screenshots ![image](https://user-images.githubusercontent.com/46033730/80601543-3fb24d80-8a2e-11ea-923f-602d17eec81e.png)
Author
Owner

@zeripath commented on GitHub (Apr 29, 2020):

use

[anchor](link)
@zeripath commented on GitHub (Apr 29, 2020): use ```markdown [anchor](link) ```
Author
Owner

@cyb3rko commented on GitHub (Apr 29, 2020):

Thanks!

@cyb3rko commented on GitHub (Apr 29, 2020): Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5325