Skip to content

Tags: szeko/inliner

Tags

v1.6.1

Toggle v1.6.1's commit message
test: don't touch non-script scripts

v1.6.0

Toggle v1.6.0's commit message
chore: merge branch 'master' of github.com:remy/inliner

v1.5.0

Toggle v1.5.0's commit message
chore: Merge branch 'feature/inliner-string'

v1.4.0

Toggle v1.4.0's commit message
Merge pull request remy#57 from hsablonniere/videos

feat: inline video (and their poster image attribute)

v1.3.0

Toggle v1.3.0's commit message
feat: warn out when failing to get url on cli

Also cleaned up js uglify process as it was failing the test source.body when in fact there was a body, it was just empty.

v1.2.0

Toggle v1.2.0's commit message
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).

v1.1.1

Toggle v1.1.1's commit message
fix: fixed args on cli actually being *read*

Not sure how I missed it, but the arguments were never making their way into inliner via the cli, and even when they did, the defaults override the options.

v1.1.0

Toggle v1.1.0's commit message
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

v1.0.6

Toggle v1.0.6's commit message
fix: ignore fragment identifiers on urls

Since the cache is keyyed by URL, it makes sense to ignore the hash fragment identifier.

v1.0.5

Toggle v1.0.5's commit message
chore: merge master

Merge branch 'collapse-whitespace' of https://github.com/hsablonniere/inliner into hsablonniere-collapse-whitespace