diff --git a/pkg/web/sanitizer_test.go b/pkg/web/sanitizer_test.go index 2228522ec786c43f5bb5b530478982b4ec2d54ca..85781211bc84dea915dfda4fb17d0c62a71258a3 100644 --- a/pkg/web/sanitizer_test.go +++ b/pkg/web/sanitizer_test.go @@ -148,6 +148,18 @@ func TestSanitizerAllowedTags(t *testing.T) { html, err = renderMarkdown(md, ctx) is.NoErr(err) is.True(strings.Contains(string(html), " +Click to expand + +Hidden content here + +`) + html, err = renderMarkdown(md, ctx) + is.NoErr(err) + is.True(strings.Contains(string(html), "