This also fixes a bug in the tokenizing FSM in etc.c that prevented the !doctype element from being recognized; the fix is necessary because HTML5 detection depends on checking the !doctype element.
		
			
				
	
	
		
			2 lines
		
	
	
		
			38 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			2 lines
		
	
	
		
			38 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <a href="example"><div>test</div></a>
 |