Changed to match browser outerHTML