test(compile): should not leak memory when there are top level empty text nodes
fix(compile): prevent memory leak with top level whitespace