Skip to content

Commit

Permalink
markup/goldmark: Fix typo in func comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Jan 22, 2025
1 parent 9d765e1 commit f704d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markup/goldmark/internal/render/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f704d75

Please sign in to comment.