mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 05:36:16 +00:00
remove requirement on trailing character after check box
This commit is contained in:
parent
a96b86778f
commit
9f461e180a
|
@ -153,8 +153,8 @@ type Issue struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
issueTasksPat = regexp.MustCompile(`(^\s*[-*]\s*\[[\sxX]\].)|(\n\s*[-*]\s*\[[\sxX]\].)`)
|
issueTasksPat = regexp.MustCompile(`(^\s*[-*]\s*\[[\sxX]\])|(\n\s*[-*]\s*\[[\sxX]\])`)
|
||||||
issueTasksDonePat = regexp.MustCompile(`(^\s*[-*]\s*\[[xX]\].)|(\n\s*[-*]\s*\[[xX]\].)`)
|
issueTasksDonePat = regexp.MustCompile(`(^\s*[-*]\s*\[[xX]\])|(\n\s*[-*]\s*\[[xX]\])`)
|
||||||
)
|
)
|
||||||
|
|
||||||
// IssueIndex represents the issue index table
|
// IssueIndex represents the issue index table
|
||||||
|
|
Loading…
Reference in a new issue