diff --git a/go.mod b/go.mod index c22e5484f..7988c8ecd 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/gohugoio/hugo require ( github.com/BurntSushi/locker v0.0.0-20171006230638-a6e239ea1c69 - github.com/alecthomas/chroma/v2 v2.19.0 + github.com/alecthomas/chroma/v2 v2.20.0 github.com/armon/go-radix v1.0.1-0.20221118154546-54df44f2176c github.com/aws/aws-sdk-go-v2 v1.38.1 github.com/aws/aws-sdk-go-v2/service/cloudfront v1.53.0 diff --git a/go.sum b/go.sum index 0da0e82b9..58cbc211e 100644 --- a/go.sum +++ b/go.sum @@ -91,8 +91,11 @@ github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8v github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k= github.com/alecthomas/chroma/v2 v2.19.0 h1:Im+SLRgT8maArxv81mULDWN8oKxkzboH07CHesxElq4= github.com/alecthomas/chroma/v2 v2.19.0/go.mod h1:RVX6AvYm4VfYe/zsk7mjHueLDZor3aWCNE14TFlepBk= +github.com/alecthomas/chroma/v2 v2.20.0 h1:sfIHpxPyR07/Oylvmcai3X/exDlE8+FA820NTz+9sGw= +github.com/alecthomas/chroma/v2 v2.20.0/go.mod h1:e7tViK0xh/Nf4BYHl00ycY6rV7b8iXBksI9E359yNmA= github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc= github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= +github.com/alecthomas/repr v0.5.1 h1:E3G4t2QbHTSNpPKBgMTln5KLkZHLOcU7r37J4pXBuIg= github.com/armon/go-radix v1.0.1-0.20221118154546-54df44f2176c h1:651/eoCRnQ7YtSjAnSzRucrJz+3iGEFt+ysraELS81M= github.com/armon/go-radix v1.0.1-0.20221118154546-54df44f2176c/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/aws/aws-sdk-go v1.55.5 h1:KKUZBfBoyqy5d3swXyiC7Q76ic40rYcbqH7qjh59kzU= diff --git a/tpl/tplimpl/shortcodes_integration_test.go b/tpl/tplimpl/shortcodes_integration_test.go index 86f6007ca..244a2592b 100644 --- a/tpl/tplimpl/shortcodes_integration_test.go +++ b/tpl/tplimpl/shortcodes_integration_test.go @@ -230,11 +230,11 @@ An inline {{< highlight go "hl_inline=true" >}}fmt.Println("Value of i:", i)Hell b := hugolib.Test(t, files) b.AssertFileContent("public/p1/index.html", "576ee13be18ddba2") - b.AssertFileContent("public/p2/index.html", "8774e8b4bf60aa9e") + b.AssertFileContent("public/p2/index.html", "a9a4ec6ce77d7a23") b.AssertFileContent("public/p3/index.html", "7634b47df1859f58") b.AssertFileContent("public/p4/index.html", "385a15e400df4e39") - b.AssertFileContent("public/p5/index.html", "b3a73f3eddc6e0c1") - b.AssertFileContent("public/p6/index.html", "b3a73f3eddc6e0c1") + b.AssertFileContent("public/p5/index.html", "f69c99d2d7f786d4") + b.AssertFileContent("public/p6/index.html", "f69c99d2d7f786d4") b.AssertFileContent("public/p7/index.html", "f12eeaa4d6d9c7ac") }