mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
Fixed misspelled words
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
ec37420468
commit
ad01aea3f4
@@ -90,7 +90,7 @@ func TestAsciidoctorDisallowedArgs(t *testing.T) {
|
||||
cfg := viper.New()
|
||||
mconf := markup_config.Default
|
||||
mconf.AsciidocExt.Backend = "disallowed-backend"
|
||||
mconf.AsciidocExt.Extensions = []string{"disallowed-extention"}
|
||||
mconf.AsciidocExt.Extensions = []string{"disallowed-extension"}
|
||||
mconf.AsciidocExt.Attributes = map[string]string{"outdir": "disallowed-attribute"}
|
||||
mconf.AsciidocExt.SafeMode = "disallowed-safemode"
|
||||
mconf.AsciidocExt.FailureLevel = "disallowed-failurelevel"
|
||||
|
@@ -49,7 +49,7 @@ type HeadingContext interface {
|
||||
|
||||
// HeadingRenderer describes a uniquely identifiable rendering hook.
|
||||
type HeadingRenderer interface {
|
||||
// Render writes the renderered content to w using the data in w.
|
||||
// Render writes the rendered content to w using the data in w.
|
||||
RenderHeading(w io.Writer, ctx HeadingContext) error
|
||||
identity.Provider
|
||||
}
|
||||
|
Reference in New Issue
Block a user