Closed
Description
- Gitea version (or commit ref): 1.9.2
- Git version:
- Operating system: Ubuntu 18.04
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
After placing a comment in a pull request, a notification is send to our Rocket.Chat. The notification tries to provide a hyperlink to the message with the syntax <"hyperlink"|"name pull request">
. This is correct, however it is used as a header as well. Therefore, instead of making a hyperlink to the Gitea server, Rocket.Chat creates a hyperlink to show the contents of the comment.
I suggest to change the comment notification to:
[foo] New comment created by <"hyperlink to user"|"user">: <"hyperlink to comment"|"name pull request">
> "Comment contents"
This method will render all hyperlinks correctly.