mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-18 07:12:20 +00:00
Change chardet to gogits
This commit is contained in:
parent
e193005c66
commit
e6f97c78ff
2 changed files with 2 additions and 2 deletions
|
@ -13,6 +13,7 @@ github.com/codegangsta/cli = commit:7381bc4e62
|
||||||
github.com/go-sql-driver/mysql = commit:8111ee3ec3
|
github.com/go-sql-driver/mysql = commit:8111ee3ec3
|
||||||
github.com/go-xorm/core = commit:3e0fa232ab
|
github.com/go-xorm/core = commit:3e0fa232ab
|
||||||
github.com/go-xorm/xorm = commit:58d33844ce
|
github.com/go-xorm/xorm = commit:58d33844ce
|
||||||
|
github.com/gogits/chardet = commit:2404f77725
|
||||||
github.com/gogits/go-gogs-client = commit:92e76d616a
|
github.com/gogits/go-gogs-client = commit:92e76d616a
|
||||||
github.com/gogits/oauth2 = commit:99cbec870a
|
github.com/gogits/oauth2 = commit:99cbec870a
|
||||||
github.com/lib/pq = commit:b021d0ef20
|
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/mattn/go-sqlite3 = commit:a80c27ba33
|
||||||
github.com/nfnt/resize = commit:581d15cb53
|
github.com/nfnt/resize = commit:581d15cb53
|
||||||
github.com/russross/blackfriday = commit:05b8cefd6a
|
github.com/russross/blackfriday = commit:05b8cefd6a
|
||||||
github.com/saintfish/chardet = commit:3af4cd4741
|
|
||||||
|
|
||||||
[res]
|
[res]
|
||||||
include = conf|etc|public|scripts|templates
|
include = conf|etc|public|scripts|templates
|
||||||
|
|
|
@ -17,7 +17,7 @@ import (
|
||||||
"golang.org/x/text/transform"
|
"golang.org/x/text/transform"
|
||||||
|
|
||||||
"github.com/gogits/gogs/modules/setting"
|
"github.com/gogits/gogs/modules/setting"
|
||||||
"github.com/saintfish/chardet"
|
"github.com/gogits/chardet"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Str2html(raw string) template.HTML {
|
func Str2html(raw string) template.HTML {
|
||||||
|
|
Loading…
Reference in a new issue