[PR #4058] [MERGED] Fix relative markdown links with anchors #17220

Closed
opened 2025-11-02 12:29:52 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4058
Author: @jonasfranz
Created: 5/27/2018
Status: Merged
Merged: 5/29/2018
Merged by: @techknowlogick

Base: masterHead: bug/fix-md-anchor


📝 Commits (5)

  • b0cf75d Replace '%28' with '#'
  • e387142 Merge branch 'master' into bug/fix-md-anchor
  • fb46c02 Use ResolveReference instead of strings.Replace
  • 99dea22 Merge branch 'master' into bug/fix-md-anchor
  • df6d7e3 Merge branch 'master' into bug/fix-md-anchor

📊 Changes

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

View changed files

📝 modules/util/util.go (+16 -6)
📝 modules/util/util_test.go (+2 -0)

📄 Description

Fix #3784

This is not the most elegant solution but it works.


🔄 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/4058 **Author:** [@jonasfranz](https://github.com/jonasfranz) **Created:** 5/27/2018 **Status:** ✅ Merged **Merged:** 5/29/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `bug/fix-md-anchor` --- ### 📝 Commits (5) - [`b0cf75d`](https://github.com/go-gitea/gitea/commit/b0cf75df988a0c7c4d266c1cffcad0d1a25ac547) Replace '%28' with '#' - [`e387142`](https://github.com/go-gitea/gitea/commit/e38714272fe9bf0e54ea4ffdaf0ff1398d386613) Merge branch 'master' into bug/fix-md-anchor - [`fb46c02`](https://github.com/go-gitea/gitea/commit/fb46c02135c1416e1418a2732682a39557d37f55) Use ResolveReference instead of strings.Replace - [`99dea22`](https://github.com/go-gitea/gitea/commit/99dea2250648125d541e39ec1433bb74496d7521) Merge branch 'master' into bug/fix-md-anchor - [`df6d7e3`](https://github.com/go-gitea/gitea/commit/df6d7e31525839a88ff03b4bab4b8b3a7ffc0348) Merge branch 'master' into bug/fix-md-anchor ### 📊 Changes **2 files changed** (+18 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `modules/util/util.go` (+16 -6) 📝 `modules/util/util_test.go` (+2 -0) </details> ### 📄 Description Fix #3784 This is not the most elegant solution but it works. --- <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 12:29:52 -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#17220