deps: Update Goldmark
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 24 Nov 2019 11:28:57 +0000 (12:28 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 24 Nov 2019 11:28:57 +0000 (12:28 +0100)
go.mod
go.sum
markup/goldmark/convert_test.go

diff --git a/go.mod b/go.mod
index 42298c5e0d3364120a053bf3301ed2e956af00e7..bd09e0eb3f2aee3a7bddd9eab9b5d0ca819153b8 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -54,7 +54,7 @@ require (
        github.com/spf13/viper v1.4.0
        github.com/tdewolff/minify/v2 v2.5.2
        github.com/yosssi/ace v0.0.5
-       github.com/yuin/goldmark v1.1.4
+       github.com/yuin/goldmark v1.1.5
        go.opencensus.io v0.22.0 // indirect
        gocloud.dev v0.15.0
        golang.org/x/image v0.0.0-20190523035834-f03afa92d3ff
diff --git a/go.sum b/go.sum
index 03e231d1311be113685926dee434ef331273c023..f609f9cedb7da1918de3818ed6034674a9f4bf8a 100644 (file)
--- a/go.sum
+++ b/go.sum
@@ -349,6 +349,8 @@ github.com/yosssi/ace v0.0.5 h1:tUkIP/BLdKqrlrPwcmH0shwEEhTRHoGnc1wFIWmaBUA=
 github.com/yosssi/ace v0.0.5/go.mod h1:ALfIzm2vT7t5ZE7uoIZqF3TQ7SAOyupFZnkrF5id+K0=
 github.com/yuin/goldmark v1.1.4 h1:Fj9vOhXMWRBITkIfa8OG/5j6PTKPkyPHxZbT1bvmjV8=
 github.com/yuin/goldmark v1.1.4/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.1.5 h1:JJy3EDke+PMI2WcFIU6SdaeiP6FgRGK5NKAiPZHiOoE=
+github.com/yuin/goldmark v1.1.5/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
 go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
 go.mongodb.org/mongo-driver v1.0.1/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM=
 go.opencensus.io v0.15.0/go.mod h1:UffZAU+4sDEINUGP/B7UfBBkq4fqLu9zXAX7ke6CHW0=
index 47798660da82b99e0f9dc4971030ec6e82f369a6..a23976fd665ad379d1e967be74ea3a1b8cc40ed7 100644 (file)
@@ -33,6 +33,11 @@ func TestConvert(t *testing.T) {
 
        // Smoke test of the default configuration.
        content := `
+## Links
+
+https://github.com/gohugoio/hugo/issues/6528
+[Live Demo here!](https://docuapi.netlify.com/)
+
 ## Code Fences
 
 §§§bash
@@ -108,6 +113,9 @@ description
 
        got := string(b.Bytes())
 
+       // Links
+       c.Assert(got, qt.Contains, `<a href="https://docuapi.netlify.com/">Live Demo here!</a>`)
+
        // Header IDs
        c.Assert(got, qt.Contains, `<h2 id="custom">Custom ID</h2>`, qt.Commentf(got))
        c.Assert(got, qt.Contains, `<h2 id="auto-id">Auto ID</h2>`, qt.Commentf(got))