markup/goldmark: Fix typo in func comment

This commit is contained in:
Patrice Chalin 2025-01-22 08:57:24 -05:00 committed by GitHub
parent 9d765e1b99
commit f704d75699
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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 {