]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
markup/goldmark: Fix typo in func comment
authorPatrice Chalin <chalin@users.noreply.github.com>
Wed, 22 Jan 2025 13:57:24 +0000 (08:57 -0500)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2025 13:57:24 +0000 (14:57 +0100)
markup/goldmark/internal/render/context.go

index 32304fafaa3020468483894e37dcb040660403a7..469ea72e3cd2f54a742698d036a75a5dfaf5063d 100644 (file)
@@ -265,7 +265,7 @@ func (c *hookBase) PositionerSourceTarget() []byte {
 }
 
 // TextPlain returns a plain text representation of the given node.
-// This will resolve any lefover HTML entities. This will typically be
+// This will resolve any leftover HTML entities. This will typically be
 // entities inserted by e.g. the typographer extension.
 // Goldmark's Node.Text was deprecated in 1.7.8.
 func TextPlain(n ast.Node, source []byte) string {