summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Smit <peter@smitmail.eu>2015-01-15 12:40:16 +0200
committerPeter Smit <peter@smitmail.eu>2015-01-15 12:40:16 +0200
commite6f97c78ffdb20b95c36686eb8eb8a8ce1938a7b (patch)
treef0c59ef529609beb75a9f0fb28ba3e1d8dabd024
parente193005c66e3c61593efd2d44005efbca0fab33a (diff)
downloadgitea-e6f97c78ffdb20b95c36686eb8eb8a8ce1938a7b.tar.gz
gitea-e6f97c78ffdb20b95c36686eb8eb8a8ce1938a7b.zip
Change chardet to gogits
-rw-r--r--.gopmfile2
-rw-r--r--modules/base/template.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/.gopmfile b/.gopmfile
index 49b4171550..dd262cbb5f 100644
--- a/.gopmfile
+++ b/.gopmfile
@@ -13,6 +13,7 @@ github.com/codegangsta/cli = commit:7381bc4e62
github.com/go-sql-driver/mysql = commit:8111ee3ec3
github.com/go-xorm/core = commit:3e0fa232ab
github.com/go-xorm/xorm = commit:58d33844ce
+github.com/gogits/chardet = commit:2404f77725
github.com/gogits/go-gogs-client = commit:92e76d616a
github.com/gogits/oauth2 = commit:99cbec870a
github.com/lib/pq = commit:b021d0ef20
@@ -27,7 +28,6 @@ github.com/macaron-contrib/toolbox = commit:57127bcc89
github.com/mattn/go-sqlite3 = commit:a80c27ba33
github.com/nfnt/resize = commit:581d15cb53
github.com/russross/blackfriday = commit:05b8cefd6a
-github.com/saintfish/chardet = commit:3af4cd4741
[res]
include = conf|etc|public|scripts|templates
diff --git a/modules/base/template.go b/modules/base/template.go
index 9107f3e129..d96617c05f 100644
--- a/modules/base/template.go
+++ b/modules/base/template.go
@@ -17,7 +17,7 @@ import (
"golang.org/x/text/transform"
"github.com/gogits/gogs/modules/setting"
- "github.com/saintfish/chardet"
+ "github.com/gogits/chardet"
)
func Str2html(raw string) template.HTML {