mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 11:52:24 -05:00 
			
		
		
		
	[chore]: Bump github.com/yuin/goldmark from 1.5.4 to 1.5.5 (#2023)
This commit is contained in:
		
					parent
					
						
							
								c9f3539b5a
							
						
					
				
			
			
				commit
				
					
						b05f6c8f56
					
				
			
		
					 7 changed files with 35 additions and 20 deletions
				
			
		
							
								
								
									
										6
									
								
								vendor/github.com/yuin/goldmark/parser/raw_html.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/github.com/yuin/goldmark/parser/raw_html.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -48,10 +48,10 @@ func (s *rawHTMLParser) Parse(parent ast.Node, block text.Reader, pc Context) as | |||
| } | ||||
| 
 | ||||
| var tagnamePattern = `([A-Za-z][A-Za-z0-9-]*)` | ||||
| 
 | ||||
| var spaceOrOneNewline = `(?:[ \t]|(?:\r\n|\n){0,1})` | ||||
| var attributePattern = `(?:[\r\n \t]+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:[\r\n \t]*=[\r\n \t]*(?:[^\"'=<>` + "`" + `\x00-\x20]+|'[^']*'|"[^"]*"))?)` | ||||
| var openTagRegexp = regexp.MustCompile("^<" + tagnamePattern + attributePattern + `*[ \t]*/?>`) | ||||
| var closeTagRegexp = regexp.MustCompile("^</" + tagnamePattern + `\s*>`) | ||||
| var openTagRegexp = regexp.MustCompile("^<" + tagnamePattern + attributePattern + `*` + spaceOrOneNewline + `*/?>`) | ||||
| var closeTagRegexp = regexp.MustCompile("^</" + tagnamePattern + spaceOrOneNewline + `*>`) | ||||
| 
 | ||||
| var openProcessingInstruction = []byte("<?") | ||||
| var closeProcessingInstruction = []byte("?>") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue