build(deps): bump github.com/yuin/goldmark from 1.3.2 to 1.3.5
authorJoe Mooring <joe.mooring@veriphor.com>
Thu, 15 Apr 2021 20:08:17 +0000 (13:08 -0700)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 16 Apr 2021 07:12:28 +0000 (09:12 +0200)
Updated test per <https://github.com/yuin/goldmark/pull/205>.

Fixes #8377

go.mod
go.sum
hugolib/page_test.go

diff --git a/go.mod b/go.mod
index a1305ed680a4a367e199f0f514eda806b9f0fa4e..fc4274bf54d72c72cac8d792851da89ab469ed6e 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -57,7 +57,7 @@ require (
        github.com/spf13/pflag v1.0.5
        github.com/spf13/viper v1.7.1
        github.com/tdewolff/minify/v2 v2.9.15
-       github.com/yuin/goldmark v1.3.2
+       github.com/yuin/goldmark v1.3.5
        github.com/yuin/goldmark-highlighting v0.0.0-20200307114337-60d527fdb691
        gocloud.dev v0.20.0
        golang.org/x/image v0.0.0-20210220032944-ac19c3e999fb
diff --git a/go.sum b/go.sum
index d3d62a910e01b0b0d9535e28eda1f38ab4e49574..de51a02dcee57632b6e07915151f73bac61ab657 100644 (file)
--- a/go.sum
+++ b/go.sum
@@ -539,6 +539,8 @@ github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
 github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
 github.com/yuin/goldmark v1.3.2 h1:YjHC5TgyMmHpicTgEqDN0Q96Xo8K6tLXPnmNOHXCgs0=
 github.com/yuin/goldmark v1.3.2/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
+github.com/yuin/goldmark v1.3.5 h1:dPmz1Snjq0kmkz159iL7S6WzdahUTHnHB5M56WFVifs=
+github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
 github.com/yuin/goldmark-highlighting v0.0.0-20200307114337-60d527fdb691 h1:VWSxtAiQNh3zgHJpdpkpVYjTPqRE3P6UZCOPa1nRDio=
 github.com/yuin/goldmark-highlighting v0.0.0-20200307114337-60d527fdb691/go.mod h1:YLF3kDffRfUH/bTxOxHhV6lxwIB3Vfj91rEwNMS9MXo=
 go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
index be74605cb43b889f7c42aa45ed921f99209d9fb3..9d23aaa5c703fb87c12ca15763109be40d1b3e0e 100644 (file)
@@ -452,7 +452,7 @@ func TestPageWithDelimiterForMarkdownThatCrossesBorder(t *testing.T) {
        }
 
        cnt := content(p)
-       if cnt != "<p>The <a href=\"http://gohugo.io/\">best static site generator</a>.<sup id=\"fnref:1\"><a href=\"#fn:1\" class=\"footnote-ref\" role=\"doc-noteref\">1</a></sup></p>\n<section class=\"footnotes\" role=\"doc-endnotes\">\n<hr>\n<ol>\n<li id=\"fn:1\" role=\"doc-endnote\">\n<p>Many people say so. <a href=\"#fnref:1\" class=\"footnote-backref\" role=\"doc-backlink\">&#x21a9;&#xfe0e;</a></p>\n</li>\n</ol>\n</section>" {
+       if cnt != "<p>The <a href=\"http://gohugo.io/\">best static site generator</a>.<sup id=\"fnref:1\"><a href=\"#fn:1\" class=\"footnote-ref\" role=\"doc-noteref\">1</a></sup></p>\n<section class=\"footnotes\" role=\"doc-endnotes\">\n<hr>\n<ol>\n<li id=\"fn:1\" role=\"doc-endnote\">\n<p>Many people say so.&#160;<a href=\"#fnref:1\" class=\"footnote-backref\" role=\"doc-backlink\">&#x21a9;&#xfe0e;</a></p>\n</li>\n</ol>\n</section>" {
                t.Fatalf("Got content:\n%q", cnt)
        }
 }