From c3d0748d2772f25862db73eff3e0f586db0507f8 Mon Sep 17 00:00:00 2001 From: Adnan Maolood Date: Sun, 1 Nov 2020 00:54:07 -0400 Subject: [PATCH] Update go-gemini dependency --- go.mod | 2 +- go.sum | 4 ++-- main.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 4c6a95b..c3938a7 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module kiln go 1.15 -require git.sr.ht/~adnano/go-gemini v0.1.3 +require git.sr.ht/~adnano/go-gemini v0.1.4 diff --git a/go.sum b/go.sum index 69a6c9d..c60218b 100644 --- a/go.sum +++ b/go.sum @@ -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.3/go.mod h1:If1VxEWcZDrRt5FeAFnGTcM2Ud1E3BXs3VJ5rnZWKq0= +git.sr.ht/~adnano/go-gemini v0.1.4 h1:va3yFDqPQHwcE6AxaP1gBkPlOkSeLXJJqdTTjQzBppY= +git.sr.ht/~adnano/go-gemini v0.1.4/go.mod h1:If1VxEWcZDrRt5FeAFnGTcM2Ud1E3BXs3VJ5rnZWKq0= diff --git a/main.go b/main.go index 186614e..9fadd26 100644 --- a/main.go +++ b/main.go @@ -441,7 +441,7 @@ func outputHTML(p *Page) (path string, content []byte) { path = filepath.Join(p.Permalink, indexPath) r := bytes.NewReader(p.content) - text := gemini.Parse(r) + text := gemini.ParseText(r) content = []byte(textToHTML(text)) type tmplCtx struct {