mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-04 07:02:24 -06:00 
			
		
		
		
	[chore]: Bump github.com/yuin/goldmark from 1.7.4 to 1.7.6 (#3430)
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.4 to 1.7.6. - [Release notes](https://github.com/yuin/goldmark/releases) - [Commits](https://github.com/yuin/goldmark/compare/v1.7.4...v1.7.6) --- updated-dependencies: - dependency-name: github.com/yuin/goldmark dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								020da28daa
							
						
					
				
			
			
				commit
				
					
						be3b8076ca
					
				
			
		
					 13 changed files with 2209 additions and 2144 deletions
				
			
		
							
								
								
									
										10
									
								
								vendor/github.com/yuin/goldmark/ast/block.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/github.com/yuin/goldmark/ast/block.go
									
										
									
										generated
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
package ast
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"bytes"
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"strings"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -47,6 +48,15 @@ func (b *BaseBlock) SetLines(v *textm.Segments) {
 | 
			
		|||
	b.lines = v
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Text implements Node.Text.
 | 
			
		||||
func (b *BaseBlock) Text(source []byte) []byte {
 | 
			
		||||
	var buf bytes.Buffer
 | 
			
		||||
	for _, line := range b.Lines().Sliced(0, b.Lines().Len()) {
 | 
			
		||||
		buf.Write(line.Value(source))
 | 
			
		||||
	}
 | 
			
		||||
	return buf.Bytes()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// A Document struct is a root node of Markdown text.
 | 
			
		||||
type Document struct {
 | 
			
		||||
	BaseBlock
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue