Replace the correct node when replacing in `void` sequences
authorRichard van Velzen <rvanvelzen@experty.com>
Mon, 12 Jan 2015 16:09:34 +0000 (17:09 +0100)
committerRichard van Velzen <rvanvelzen@experty.com>
Mon, 12 Jan 2015 16:09:34 +0000 (17:09 +0100)
commit42ecd42ac00881f7d540cb08969ce7e2721e30d5
tree8879a10566f02177db66450ffa72d52d7639ff72
parenta10f6a96d724319f9bb582dab42392b4ef05a0e0
Replace the correct node when replacing in `void` sequences

Close #611.
lib/compress.js
test/compress/issue-611.js [new file with mode: 0644]