[PR #2119] [MERGED] Fix wiki preview links #16240

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2119
Author: @ethantkoenig
Created: 7/6/2017
Status: Merged
Merged: 7/7/2017
Merged by: @andreynering

Base: masterHead: fix/wiki


📝 Commits (3)

📊 Changes

3 files changed (+52 additions, -45 deletions)

View changed files

📝 modules/markdown/markdown.go (+16 -34)
📝 modules/markdown/markdown_test.go (+35 -10)
📝 templates/repo/wiki/new.tmpl (+1 -1)

📄 Description

Fixes #1900, which was caused by a bug in markdown.URLJoin(..). I've also added unit tests for markdown.URLJoin(..).


🔄 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/2119 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 7/6/2017 **Status:** ✅ Merged **Merged:** 7/7/2017 **Merged by:** [@andreynering](https://github.com/andreynering) **Base:** `master` ← **Head:** `fix/wiki` --- ### 📝 Commits (3) - [`b1d7348`](https://github.com/go-gitea/gitea/commit/b1d7348a20d7d3927d526b15c1847db6dd7767fa) Fix wiki preview links - [`e14ea99`](https://github.com/go-gitea/gitea/commit/e14ea9979bf0e9a5d4dbfbf3e933997de8ac2987) Relative URL tests - [`e58237e`](https://github.com/go-gitea/gitea/commit/e58237ee3f5be04e2ef2e155eca71077097d0c01) Fix import order ### 📊 Changes **3 files changed** (+52 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `modules/markdown/markdown.go` (+16 -34) 📝 `modules/markdown/markdown_test.go` (+35 -10) 📝 `templates/repo/wiki/new.tmpl` (+1 -1) </details> ### 📄 Description Fixes #1900, which was caused by a bug in `markdown.URLJoin(..)`. I've also added unit tests for `markdown.URLJoin(..)`. --- <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:05:40 -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#16240