diff options
author | Unknwon <u@gogs.io> | 2018-05-27 08:53:48 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-05-27 08:53:48 +0800 |
commit | aff42082441715559bb2e62e11550af1a946a8c9 (patch) | |
tree | d5349c3d486346210a989659e788b50589198e69 /pkg/markup/markup.go | |
parent | 73dbaefec50c4fc99a63c5be2891a1a34db18767 (diff) |
*: rename "gogits" to "gogs"
Diffstat (limited to 'pkg/markup/markup.go')
-rw-r--r-- | pkg/markup/markup.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/markup/markup.go b/pkg/markup/markup.go index b9682731..b8e1519d 100644 --- a/pkg/markup/markup.go +++ b/pkg/markup/markup.go @@ -14,8 +14,8 @@ import ( "github.com/Unknwon/com" "golang.org/x/net/html" - "github.com/gogits/gogs/pkg/setting" - "github.com/gogits/gogs/pkg/tool" + "github.com/gogs/gogs/pkg/setting" + "github.com/gogs/gogs/pkg/tool" ) // IsReadmeFile reports whether name looks like a README file based on its extension. @@ -49,7 +49,7 @@ var ( // IssueAlphanumericPattern matches string that references to an alphanumeric issue, e.g. ABC-1234 IssueAlphanumericPattern = regexp.MustCompile(`( |^|\(|\[)[A-Z]{1,10}-[1-9][0-9]*\b`) // CrossReferenceIssueNumericPattern matches string that references a numeric issue in a difference repository - // e.g. gogits/gogs#12345 + // e.g. gogs/gogs#12345 CrossReferenceIssueNumericPattern = regexp.MustCompile(`( |^)[0-9a-zA-Z-_\.]+/[0-9a-zA-Z-_\.]+#[0-9]+\b`) // Sha1CurrentPattern matches string that represents a commit SHA, e.g. d8a994ef243349f321568f9e36d5c3f444b99cae |