]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
deps: Update github.com/yuin/goldmark v1.4.11 => v1.4.12
authorJoe Mooring <joe.mooring@veriphor.com>
Mon, 25 Apr 2022 14:20:30 +0000 (07:20 -0700)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 27 Apr 2022 08:04:00 +0000 (10:04 +0200)
Fixes #9054
Fixes #9756
Fixes #9757

go.mod
go.sum
hugolib/page_test.go
markup/goldmark/convert_test.go

diff --git a/go.mod b/go.mod
index aad9d1acff589a75037a2dd061c0b52b9718eff8..de2b777cba316c46173f1498dc307a87ddb65c14 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -56,7 +56,7 @@ require (
        github.com/spf13/jwalterweatherman v1.1.0
        github.com/spf13/pflag v1.0.5
        github.com/tdewolff/minify/v2 v2.11.2
-       github.com/yuin/goldmark v1.4.11
+       github.com/yuin/goldmark v1.4.12
        go.uber.org/atomic v1.9.0
        gocloud.dev v0.20.0
        golang.org/x/image v0.0.0-20211028202545-6944b10bf410
diff --git a/go.sum b/go.sum
index 2f64d8b4fc8e99c8f5ac472982ccbcb54371dc1d..9dcd0902ecf81543650f2322cf073077e88f5ecb 100644 (file)
--- a/go.sum
+++ b/go.sum
@@ -448,8 +448,8 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
 github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
 github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
 github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
-github.com/yuin/goldmark v1.4.11 h1:i45YIzqLnUc2tGaTlJCyUxSG8TvgyGqhqOZOUKIjJ6w=
-github.com/yuin/goldmark v1.4.11/go.mod h1:rmuwmfZ0+bvzB24eSC//bk1R1Zp3hM0OXYv/G2LIilg=
+github.com/yuin/goldmark v1.4.12 h1:6hffw6vALvEDqJ19dOJvJKOoAOKe4NDaTqvd2sktGN0=
+github.com/yuin/goldmark v1.4.12/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
 go.opencensus.io v0.15.0/go.mod h1:UffZAU+4sDEINUGP/B7UfBBkq4fqLu9zXAX7ke6CHW0=
 go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
 go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
index c16754cd9d2ff5b9887aa66f531444e05ee7f7fe..84e54306a2c783084a46b19edb3b17b7f7499fcb 100644 (file)
@@ -456,7 +456,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.&#160;<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<div class=\"footnotes\" role=\"doc-endnotes\">\n<hr>\n<ol>\n<li id=\"fn:1\">\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</div>" {
                t.Fatalf("Got content:\n%q", cnt)
        }
 }
index e37e81c97add69d7f906db34a4b1b443cc8a39f4..ab96b8c85d2cf59622ed009349a124a40055cb50 100644 (file)
@@ -177,8 +177,8 @@ description
        c.Assert(got, qt.Contains, `Dashes (“&ndash;” and “&mdash;”) `)
        c.Assert(got, qt.Contains, `Three consecutive dots (“&hellip;”)`)
        c.Assert(got, qt.Contains, `&ldquo;That was back in the &rsquo;90s, that&rsquo;s a long time ago&rdquo;`)
-       c.Assert(got, qt.Contains, `footnote.<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>`)
-       c.Assert(got, qt.Contains, `<section class="footnotes" role="doc-endnotes">`)
+       c.Assert(got, qt.Contains, `footnote.<sup id="fnref1:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>`)
+       c.Assert(got, qt.Contains, `<div class="footnotes" role="doc-endnotes">`)
        c.Assert(got, qt.Contains, `<dt>date</dt>`)
 
        toc, ok := b.(converter.TableOfContentsProvider)