[PR #3408] [MERGED] Allow square brackets in external issue patterns #16924

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3408
Author: @derkoe
Created: 1/25/2018
Status: Merged
Merged: 2/3/2018
Merged by: @lafriks

Base: masterHead: master


📝 Commits (3)

  • 84cb18a Allow square brackets in external issue patterns
  • bcc1a6d Added false test cases for checklist elements
  • 339b299 Merge branch 'master' into master

📊 Changes

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

View changed files

📝 modules/markup/html.go (+2 -2)
📝 modules/markup/html_test.go (+5 -0)

📄 Description

Many projects write the issue reference in square brackets, like [JIRA-123] or [#123]. This PR makes the external issue pattern support this as well.


🔄 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/3408 **Author:** [@derkoe](https://github.com/derkoe) **Created:** 1/25/2018 **Status:** ✅ Merged **Merged:** 2/3/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`84cb18a`](https://github.com/go-gitea/gitea/commit/84cb18aac7a3ebdb01438fc47a5f29bdbd755768) Allow square brackets in external issue patterns - [`bcc1a6d`](https://github.com/go-gitea/gitea/commit/bcc1a6dddad2ac482d2318c0e8a6d12a48fbf063) Added false test cases for checklist elements - [`339b299`](https://github.com/go-gitea/gitea/commit/339b2992eb9c3cc2a1c554eb5aad14f7e4387a1d) Merge branch 'master' into master ### 📊 Changes **2 files changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `modules/markup/html.go` (+2 -2) 📝 `modules/markup/html_test.go` (+5 -0) </details> ### 📄 Description Many projects write the issue reference in square brackets, like `[JIRA-123]` or `[#123]`. This PR makes the external issue pattern support this as well. --- <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:22:15 -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#16924