mirror of
https://github.com/go-gitea/gitea
synced 2025-07-06 10:37:20 +00:00
4
vendor/github.com/yuin/goldmark/ast/inline.go
generated
vendored
4
vendor/github.com/yuin/goldmark/ast/inline.go
generated
vendored
@ -170,7 +170,7 @@ func NewText() *Text {
|
||||
}
|
||||
}
|
||||
|
||||
// NewTextSegment returns a new Text node with the given source potision.
|
||||
// NewTextSegment returns a new Text node with the given source position.
|
||||
func NewTextSegment(v textm.Segment) *Text {
|
||||
return &Text{
|
||||
BaseInline: BaseInline{},
|
||||
@ -467,7 +467,7 @@ type AutoLink struct {
|
||||
// Inline implements Inline.Inline.
|
||||
func (n *AutoLink) Inline() {}
|
||||
|
||||
// Dump implenets Node.Dump
|
||||
// Dump implements Node.Dump
|
||||
func (n *AutoLink) Dump(source []byte, level int) {
|
||||
segment := n.value.Segment
|
||||
m := map[string]string{
|
||||
|
Reference in New Issue
Block a user