From b37183e48d6ba6fe4df9d54d62f377f08db834e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 12 Mar 2022 10:45:31 +0100 Subject: deps: Update github.com/yuin/goldmark v1.4.9 => v1.4.10 Fixes #9658 --- markup/goldmark/integration_test.go | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'markup') diff --git a/markup/goldmark/integration_test.go b/markup/goldmark/integration_test.go index 064ffb85d..e1d1445ee 100644 --- a/markup/goldmark/integration_test.go +++ b/markup/goldmark/integration_test.go @@ -536,8 +536,7 @@ Link https procol: https://www.example.org } } -// Issue 9650 -func TestRenderingOfHtmlComments(t *testing.T) { +func TestGoldmarkBugs(t *testing.T) { t.Parallel() files := ` @@ -548,8 +547,16 @@ unsafe = true --- title: "p1" --- + +## Issue 9650 + a c +## Issue 9658 + +- This is a list item + + -- layouts/_default/single.html -- {{ .Content }} ` @@ -562,6 +569,9 @@ a c ).Build() b.AssertFileContentExact("public/p1/index.html", + // Issue 9650 "

a c

", + // Issue 9658 (crash) + "
  • This is a list item
  • ", ) } -- cgit v1.2.3