mirror of
				https://gitlab.gnome.org/GNOME/libxml2.git
				synced 2025-10-30 10:45:36 +03:00 
			
		
		
		
	For https://bugzilla.gnome.org/show_bug.cgi?id=615785 When the <noscript> is found, <head> is closed and a <body> element is created. The real <body id="xxx"> gets skipped over, so I can't see any of the body's attributes. Just don't close <head> when encountering a <noscript> Add a regression test too
		
			
				
	
	
		
			11 lines
		
	
	
		
			206 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			206 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html>
 | |
|     <head>
 | |
|         <title>omg</title>
 | |
|         <noscript><link rel="stylesheet" href="http://foo.com"></noscript>
 | |
|     </head>
 | |
|     <body id="xxx">
 | |
|         <p>yo</p>
 | |
|     </body>
 | |
| </html>
 |