htmltidy icon indicating copy to clipboard operation
htmltidy copied to clipboard

Fixes vavere/htmltidy#24 by expecting for close instead of end

Open mateusnroll opened this issue 10 years ago • 0 comments

While tidying multiple files (using grunt, in my case) I usually ran into the problem that it would output nothing but a command-line counterpart would work as expected.

I eventually figured out that you actually have to expect for a close, not an end, since only close will ensure that everything has being sent to std.out.

It fixes issue #24 .

mateusnroll avatar Nov 07 '14 20:11 mateusnroll