mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 17:07:52 +01:00
Allow X in addition to x in tasks (#10979)
Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
parent
f072d4566f
commit
ca33a95778
@ -73,8 +73,8 @@ var (
|
|||||||
issueTasksDonePat *regexp.Regexp
|
issueTasksDonePat *regexp.Regexp
|
||||||
)
|
)
|
||||||
|
|
||||||
const issueTasksRegexpStr = `(^\s*[-*]\s\[[\sx]\]\s.)|(\n\s*[-*]\s\[[\sx]\]\s.)`
|
const issueTasksRegexpStr = `(^\s*[-*]\s\[[\sxX]\]\s.)|(\n\s*[-*]\s\[[\sxX]\]\s.)`
|
||||||
const issueTasksDoneRegexpStr = `(^\s*[-*]\s\[[x]\]\s.)|(\n\s*[-*]\s\[[x]\]\s.)`
|
const issueTasksDoneRegexpStr = `(^\s*[-*]\s\[[xX]\]\s.)|(\n\s*[-*]\s\[[xX]\]\s.)`
|
||||||
const issueMaxDupIndexAttempts = 3
|
const issueMaxDupIndexAttempts = 3
|
||||||
const maxIssueIDs = 950
|
const maxIssueIDs = 950
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user