diff options
author | Oleksandr Redko <[email protected]> | 2023-02-18 22:47:35 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-03-02 16:32:32 +0100 |
commit | 36ce3a4a9d3933772085991c8636915ffd5cb3af (patch) | |
tree | e7eaf3e0ea689b227fe012eab7c0f16205d6cd8c /markup/goldmark | |
parent | 17e60b77e15664ba37f5c0b911cf70c36d496d80 (diff) | |
download | hugo-36ce3a4a9d3933772085991c8636915ffd5cb3af.tar.gz hugo-36ce3a4a9d3933772085991c8636915ffd5cb3af.zip |
Correct typos in Go comments
Diffstat (limited to 'markup/goldmark')
-rw-r--r-- | markup/goldmark/autoid.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/goldmark/autoid.go b/markup/goldmark/autoid.go index 04313269c..e1fdfacb4 100644 --- a/markup/goldmark/autoid.go +++ b/markup/goldmark/autoid.go @@ -112,7 +112,7 @@ func (ids *idFactory) Generate(value []byte, kind ast.NodeKind) []byte { } if _, found := ids.vals[util.BytesToReadOnlyString(buf.Bytes())]; found { - // Append a hypen and a number, starting with 1. + // Append a hyphen and a number, starting with 1. buf.WriteRune('-') pos := buf.Len() for i := 1; ; i++ { |