libtidy bindings for node.js
var tidy = require('tidy');
var cleaned = tidy.tidyString(inputHTML)
tidy2 has been tested on OS X 10.8 and Ubuntu 12.04
- Expose all options as dictionary to
tidyString
- libtidy-dev –
sudo apt-get install libtidy-dev
tidy2 was based on the original tidy bindings by Martyn Garcia
- Converted tidy, which would not build on OS X or Ubuntu
- Removed jsdom and other unnecessary dependencies
- Fixed significant memory leak
- Added additional options for sane conversion