Se visualizzi il sorgente vedrai che i tag ci sono.... quindi funziona.

codice:
Array
(
    [0] => 
		<html>
		eheh
		<head>
			<title>prova</title>
		</head>
		
    [1] => 
		chissene
		come va
 		<div>ciao mondo</div>
		
    [2] => 
		</head>
		e vabbè
		
		john
	
)