- should preserve whitespace even in nested elements - should remove leading newline per spec fix #908