Update go-gemini dependency

This commit is contained in:
adnano 2020-11-01 00:54:07 -04:00
parent 84fde17123
commit 26e6a0b05b
3 changed files with 4 additions and 4 deletions

2
go.mod
View file

@ -2,4 +2,4 @@ module kiln
go 1.15 go 1.15
require git.sr.ht/~adnano/go-gemini v0.1.3 require git.sr.ht/~adnano/go-gemini v0.1.4

4
go.sum
View file

@ -1,2 +1,2 @@
git.sr.ht/~adnano/go-gemini v0.1.3 h1:uClB4mzTkHBMKBde63/EzrsIhRuHxxaNHVRf1/gApXU= git.sr.ht/~adnano/go-gemini v0.1.4 h1:va3yFDqPQHwcE6AxaP1gBkPlOkSeLXJJqdTTjQzBppY=
git.sr.ht/~adnano/go-gemini v0.1.3/go.mod h1:If1VxEWcZDrRt5FeAFnGTcM2Ud1E3BXs3VJ5rnZWKq0= git.sr.ht/~adnano/go-gemini v0.1.4/go.mod h1:If1VxEWcZDrRt5FeAFnGTcM2Ud1E3BXs3VJ5rnZWKq0=

View file

@ -441,7 +441,7 @@ func outputHTML(p *Page) (path string, content []byte) {
path = filepath.Join(p.Permalink, indexPath) path = filepath.Join(p.Permalink, indexPath)
r := bytes.NewReader(p.content) r := bytes.NewReader(p.content)
text := gemini.Parse(r) text := gemini.ParseText(r)
content = []byte(textToHTML(text)) content = []byte(textToHTML(text))
type tmplCtx struct { type tmplCtx struct {