[PR #2259] [MERGED] Make short link pattern greedy #16312

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

📋 Pull Request Information

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

Base: masterHead: short-links-greedy


📝 Commits (1)

  • 059cd13 Make short link pattern greedy

📊 Changes

2 files changed (+7 additions, -1 deletions)

View changed files

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

📄 Description

Multiple links on the same line are currently not recognized correctly.

To reproduce, simply write something like this: [[link1]] [[link2]]


🔄 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/2259 **Author:** [@michaelkuhn](https://github.com/michaelkuhn) **Created:** 8/4/2017 **Status:** ✅ Merged **Merged:** 8/5/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `short-links-greedy` --- ### 📝 Commits (1) - [`059cd13`](https://github.com/go-gitea/gitea/commit/059cd130dd5532c6b44de34e1c2de06d70a4fcf7) Make short link pattern greedy ### 📊 Changes **2 files changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `modules/markdown/markdown.go` (+1 -1) 📝 `modules/markdown/markdown_test.go` (+6 -0) </details> ### 📄 Description Multiple links on the same line are currently not recognized correctly. To reproduce, simply write something like this: `[[link1]] [[link2]]` --- <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:07:25 -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#16312