summaryrefslogtreecommitdiffstats
path: root/markup
diff options
context:
space:
mode:
authorAurken Bilbao <aurken@pm.me>2020-08-20 14:32:40 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-08-20 22:34:35 +0200
commitad01aea3f426206c2b70bbd97c5d29562dfe954d (patch)
tree68ed1328a911ef27572ca14f6bf642c02276a757 /markup
parentec37420468157284651ef6b04b30420b249179e2 (diff)
Fixed misspelled words
Diffstat (limited to 'markup')
-rw-r--r--markup/asciidocext/convert_test.go2
-rw-r--r--markup/converter/hooks/hooks.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/markup/asciidocext/convert_test.go b/markup/asciidocext/convert_test.go
index dc9d76c07..22ac8e557 100644
--- a/markup/asciidocext/convert_test.go
+++ b/markup/asciidocext/convert_test.go
@@ -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"
diff --git a/markup/converter/hooks/hooks.go b/markup/converter/hooks/hooks.go
index ab26a6f1a..622d503ef 100644
--- a/markup/converter/hooks/hooks.go
+++ b/markup/converter/hooks/hooks.go
@@ -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
}