mailto markdown failed #222

Closed
opened 2025-11-02 03:14:27 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @2Belette on GitHub (Jan 12, 2017).

  • Gitea version (or commit ref): 1.0.1
  • Git version: not relevant
  • Operating system: not relevant
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Is it possible to use mailto in markdown on gitea ?
When I try

[name@example.com](mailto:name@example.com)

it produces an hyperlink

http://url/user/repo/src/master/mailto:name@example.com

instead of the mailto link
Anythink I am doing wrong?
many thanks

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40881325-mailto-markdown-failed?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).
Originally created by @2Belette on GitHub (Jan 12, 2017). - Gitea version (or commit ref): 1.0.1 - Git version: not relevant - Operating system: not relevant - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description Is it possible to use mailto in markdown on gitea ? When I try ``` [name@example.com](mailto:name@example.com) ``` it produces an hyperlink ``` http://url/user/repo/src/master/mailto:name@example.com ``` instead of the mailto link Anythink I am doing wrong? many thanks <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40881325-mailto-markdown-failed?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github). </bountysource-plugin>
GiteaMirror added the topic/uitype/bug labels 2025-11-02 03:14:27 -06:00
Author
Owner

@lunny commented on GitHub (Jan 15, 2017):

This is a third-party library bug, see https://github.com/russross/blackfriday/issues/248

@lunny commented on GitHub (Jan 15, 2017): This is a third-party library bug, see https://github.com/russross/blackfriday/issues/248
Author
Owner

@bkcsoft commented on GitHub (Jan 21, 2017):

no it's not, you need to set this

[markdown]
CUSTOM_URL_SCHEMES = mailto
@bkcsoft commented on GitHub (Jan 21, 2017): no it's not, you need to set this ``` [markdown] CUSTOM_URL_SCHEMES = mailto ```
Author
Owner

@lunny commented on GitHub (Jan 21, 2017):

@bkcsoft could you send a PR to fix this?

@lunny commented on GitHub (Jan 21, 2017): @bkcsoft could you send a PR to fix this?
Author
Owner

@2Belette commented on GitHub (Feb 1, 2017):

bkcsoft : I found it into app.ini, I changed it but I still got the same issue ...

@2Belette commented on GitHub (Feb 1, 2017): bkcsoft : I found it into app.ini, I changed it but I still got the same issue ...
Author
Owner

@lunny commented on GitHub (Feb 24, 2017):

I confirmed #186 didn't resolve this. @andrew-boyarshin, could you have time to look at this one?

@lunny commented on GitHub (Feb 24, 2017): I confirmed #186 didn't resolve this. @andrew-boyarshin, could you have time to look at this one?
Author
Owner

@andrew-boyarshin commented on GitHub (Feb 24, 2017):

@lunny, yes, I didn't intend to resolve this issue in my PR. I should probably try.

@andrew-boyarshin commented on GitHub (Feb 24, 2017): @lunny, yes, I didn't intend to resolve this issue in my PR. I should probably try.
Author
Owner

@lunny commented on GitHub (Feb 24, 2017):

So let's move this to v1.2.

@lunny commented on GitHub (Feb 24, 2017): So let's move this to v1.2.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#222