mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:32:46 +00:00 
			
		
		
		
	 e2740bd19d
			
		
	
	
		e2740bd19d
		
	
	
	
	
		
			
			If we run an inline script from the HTML parser, it may append a text node to the current insertion point. If there was text content immediately following the script element, we would previously overwrite the script-inserted text content, due to an oversight in the way we select an appropriate insertion point This patch fixes the issue by only inserting parser content into existing text nodes if they are empty.
		
			
				
	
	
		
			1 line
		
	
	
		
			No EOL
		
	
	
		
			6 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			1 line
		
	
	
		
			No EOL
		
	
	
		
			6 B
		
	
	
	
		
			Text
		
	
	
	
	
	
|  PASS  |