See #842 - removes HTML comments from selectors.
authorAlex Lam S.L <alexlamsl@gmail.com>
Sun, 8 Jan 2017 10:36:26 +0000 (11:36 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Sun, 8 Jan 2017 11:12:56 +0000 (12:12 +0100)
commite59a5aa025f24577c02d5af3c46e10dc58fa9469
treedc8be546fbdb3aa92778217e949b2657928c582d
parentd7d464c5018c9adfbf47739aa2b2227f4bb7b4bc
See #842 - removes HTML comments from selectors.

Kudos to @alexlamsl for the fix.

Why:

* Apparently anything wrapped between HTML comments still gets
  processed by browsers.
lib/optimizer/tidy-rules.js
test/optimizer/basic-test.js