summaryrefslogtreecommitdiffstats
path: root/markup
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-11-24 12:28:57 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-11-24 12:28:57 +0100
commit4175b0468680b076a5e5f90450157a98f841789b (patch)
tree4d804187e86d59b74a3214a863278c67f199d988 /markup
parent55f951cbba69c29daabca57eeff5661d132fa162 (diff)
deps: Update Goldmark
Diffstat (limited to 'markup')
-rw-r--r--markup/goldmark/convert_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/markup/goldmark/convert_test.go b/markup/goldmark/convert_test.go
index 47798660d..a23976fd6 100644
--- a/markup/goldmark/convert_test.go
+++ b/markup/goldmark/convert_test.go
@@ -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))