From dbc8f2eff0ac3b2bb8f5e3088249b64fc1d3e5d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 20 Dec 2019 20:37:47 +0100 Subject: [PATCH] deps: Update Goldmark to v1.1.18 Fixes #6649 --- go.mod | 2 +- go.sum | 2 ++ hugolib/page_test.go | 15 +++++++++++---- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 7a3482826dc..5bc1850de02 100644 --- a/go.mod +++ b/go.mod @@ -52,7 +52,7 @@ require ( github.com/spf13/pflag v1.0.3 github.com/spf13/viper v1.4.0 github.com/tdewolff/minify/v2 v2.6.1 - github.com/yuin/goldmark v1.1.17 + github.com/yuin/goldmark v1.1.18 github.com/yuin/goldmark-highlighting v0.0.0-20191202084645-78f32c8dd6d5 go.opencensus.io v0.22.0 // indirect gocloud.dev v0.15.0 diff --git a/go.sum b/go.sum index 842cc62743b..9d2f16d30ad 100644 --- a/go.sum +++ b/go.sum @@ -345,6 +345,8 @@ github.com/yuin/goldmark v1.1.7 h1:XiwWADvxJeIM1JbXqthrEhDc19hTMui+o+QaY1hGXlk= github.com/yuin/goldmark v1.1.7/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.17 h1:t7bl7JAmainKs/Uhmr1XZVkRJsgL2UwdTCtTuYL7RAY= github.com/yuin/goldmark v1.1.17/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.18 h1:0Gpa+rpkhzQehagonRrmf0h1IHidn5DfSLM6oUjx5EU= +github.com/yuin/goldmark v1.1.18/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark-highlighting v0.0.0-20191202084645-78f32c8dd6d5 h1:QbH7ca1qtgZHrzvcVAEoiJIwBqrXxMOfHYfwZIniIK0= github.com/yuin/goldmark-highlighting v0.0.0-20191202084645-78f32c8dd6d5/go.mod h1:4QGn5rJFOASBa2uK4Q2h3BRTyJqRfsAucPFIipSTcaM= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= diff --git a/hugolib/page_test.go b/hugolib/page_test.go index 7f8d3cf49f5..66439a7a5f7 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -1644,6 +1644,11 @@ $$$bash {hl_lines=[1]} MARKDOWN $$$ +Link with URL as text + +[https://google.com](https://google.com) + + ` content = strings.ReplaceAll(content, "$$$", "```") @@ -1652,10 +1657,12 @@ $$$ b.Build(BuildCfg{}) b.AssertFileContent("public/page/index.html", - `