Fixes issues with charset moving
authorRyan J Daw <ryan@mobify.me>
Mon, 14 Jan 2013 19:55:59 +0000 (11:55 -0800)
committerRyan J Daw <ryan@mobify.me>
Mon, 14 Jan 2013 19:56:40 +0000 (11:56 -0800)
commiteac291572d40c1f4af3e8aab4317034359a4f3b3
tree9be5c96458bd8279d92cdec1ec68143051841af8
parent27db1e3286b6ee0ff1fd6e248f9fa9e9ca9af07f
Fixes issues with charset moving

 - Charset would not be moved correctly with keepBreaks
 - Performance improvement due to previous method accumulating
 a large buffer in a RegExpi, which is really slow, especially
 when it would not actually find a charset declaration.
lib/clean.js
test/unit-test.js