[PR #1677] [MERGED] Fix commit sha1 URL rendering in markdown #15990

Closed
opened 2025-11-02 11:59:43 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1677
Author: @lafriks
Created: 5/4/2017
Status: Merged
Merged: 5/5/2017
Merged by: @lunny

Base: masterHead: issue/1667


📝 Commits (3)

  • ec68f4e Fix commit sha1 URL rendering in markdown
  • 88812b2 Add unit test for commit sha1 markdown rendering when sha1 has space before it
  • d19ca62 Change to better variable name

📊 Changes

2 files changed (+6 additions, -5 deletions)

View changed files

📝 modules/markdown/markdown.go (+5 -5)
📝 modules/markdown/markdown_test.go (+1 -0)

📄 Description

Fixes #1667


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1677 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 5/4/2017 **Status:** ✅ Merged **Merged:** 5/5/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `issue/1667` --- ### 📝 Commits (3) - [`ec68f4e`](https://github.com/go-gitea/gitea/commit/ec68f4e4b35def946517aca97b2af501ee6caf31) Fix commit sha1 URL rendering in markdown - [`88812b2`](https://github.com/go-gitea/gitea/commit/88812b25350ecffc2c34f7816920083f4139d8a9) Add unit test for commit sha1 markdown rendering when sha1 has space before it - [`d19ca62`](https://github.com/go-gitea/gitea/commit/d19ca624dc515a3652abe51ad41e2333080f1d86) Change to better variable name ### 📊 Changes **2 files changed** (+6 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `modules/markdown/markdown.go` (+5 -5) 📝 `modules/markdown/markdown_test.go` (+1 -0) </details> ### 📄 Description Fixes #1667 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:59:43 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15990