markup/goldmark: Improve TOC tests

This commit is contained in:
Joe Mooring
2024-02-09 11:45:47 -08:00
committed by Bjørn Erik Pedersen
parent 0851c175ad
commit f4575e5f29
3 changed files with 266 additions and 140 deletions

View File

@@ -615,15 +615,6 @@ unsafe = true
return testconfig.GetTestConfig(nil, cfg)
}
func safeConf() config.AllProvider {
cfg := config.FromTOMLConfigString(`
[markup]
[markup.goldmark.renderer]
unsafe = false
`)
return testconfig.GetTestConfig(nil, cfg)
}
func TestConvertCJK(t *testing.T) {
c := qt.New(t)