github.com/yuin/goldmark/text.Segment.TrimRightSpace (method)

5 uses

	github.com/yuin/goldmark/text (current package)
		segment.go#L75: func (t *Segment) TrimRightSpace(buffer []byte) Segment {

	github.com/yuin/goldmark/extension
		definition_list.go#L135: 			term.Lines().Append(segment.TrimRightSpace(reader.Source()))
		table.go#L234: 		seg = seg.TrimRightSpace(source)

	github.com/yuin/goldmark/parser
		paragraph.go#L57: 		node.Lines().Set(length-1, lastLine.TrimRightSpace(reader.Source()))
		parser.go#L1212: 		text := ast.NewTextSegment(rest.TrimRightSpace(source))