fix: include all of the attribute value
							parent
							
								
									871571f014
								
							
						
					
					
						commit
						c34e3a36f3
					
				
							
								
								
									
										2
									
								
								html.lua
								
								
								
								
							
							
						
						
									
										2
									
								
								html.lua
								
								
								
								
							| 
						 | 
					@ -502,7 +502,7 @@ function M.parse_tokens_into_document( TOKENS )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if in_opening_tag_for then
 | 
								if in_opening_tag_for then
 | 
				
			||||||
				local pattern = "([%w-]+)=['\"](.-)['\"]"
 | 
									local pattern = "([%w-]+)=['\"](.+)['\"]"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				local name, raw_value = token.value:match(pattern)
 | 
									local name, raw_value = token.value:match(pattern)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue