mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-13 20:24:00 +02:00
markup/goldmark: Improve TOC tests
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
0851c175ad
commit
f4575e5f29
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user