Tags: szeko/inliner
Tags
feat: compress SVG using SVGO Fixes remy#58 Compresses inline SVG using SVGO, and compresses CSS background SVG images by making them data URLs (using text/svg+xml mime). Adds CLI (and lib) option: --nosvg which avoids using SVGO for compression (as it can on occassion mess up). Also includes a refactor of the code to organise the files a little better (allowing for further inlined elements to be added).
feat: detect encoding Using charset and jschardet allows us to detect the encoding, whilst still supporting allowing the user to override. Technique via: http://stackoverflow.com/questions/12326688/node-js-scrape-encoding/18712021#18712021 Fixes remy#60
chore: merge master Merge branch 'collapse-whitespace' of https://github.com/hsablonniere/inliner into hsablonniere-collapse-whitespace
PreviousNext