TJKoury
e3cb626ce9
Change for null cases
...
In the case that this.src is null, need to go ahead and handle it gracefully. Rather let url.js handle the null case than try to anticipate all the ways it could go wrong.
2014-05-31 13:49:15 -04:00
Remy Sharp
574f2c3ed0
Merge pull request #36 from jorendorff/master
...
Support relative <img src=> URLs.
2014-01-03 01:47:24 -08:00
Jason Orendorff
4e5d0b6eca
Support relative <img src=> URLs.
...
img.src is an absolute URL. jsdom's img.src getter produces this URL by
resolving the <img src=> attribute value relative to the document's URL --
which is bogus unless we explicitly pass a correct URL to jsdom.env() to
start with.
2013-11-22 16:46:15 -06:00
Remy Sharp
909b96323d
Merge pull request #30 from Andyroid1978/html_parsing_error_fix
...
Update inliner.js
2013-08-02 02:13:15 -07:00
Andyroid1978
40b47f48c5
Update inliner.js
...
Fix compatibility error with recent version jsdom module (mine is jsdom@0.8.2): changed jsdom.env number of parameters.
2013-07-31 16:05:41 +02:00
Remy Sharp
c8ffae5579
Merge pull request #28 from jpalardy/patch-1
...
Update package.json
2013-07-15 02:03:59 -07:00
Jonathan Palardy
7ef02df8d9
Update package.json
...
jsdom wasn't working on "latest" (0.7.0), so I pin it to 0.6.5
2013-07-14 23:53:51 -07:00
Remy Sharp
4f1af5c7d6
error handling for a) missing body in scripts, b) jsdom failing to parse HTML
2012-01-02 09:31:59 +00:00
Remy Sharp
7e30780fe4
fixed exception where comments could not be found
2011-12-31 14:21:09 +00:00
Remy Sharp
229d4f146b
moved to commander for options and fixed up JS parsing errors
2011-12-30 17:43:06 +00:00
Remy Sharp
8a5f50fd0d
bump version
2011-11-29 16:18:51 +00:00
Remy Sharp
aa2d63aefe
fixed HTML encoding when it should not have been happening
2011-11-29 16:18:40 +00:00
Remy Sharp
a81db9687f
bump version
2011-11-29 16:08:21 +00:00
Remy Sharp
ee87478e93
fix missing some closing script in scripts
2011-11-29 16:07:59 +00:00
Remy Sharp
2e76545087
bump
2011-11-06 00:35:43 +00:00
Remy Sharp
801e7ece22
updated package for 0.6 support
2011-11-06 00:34:47 +00:00
remy
ffc6431b0e
Merge branch 'master' of github.com:remy/inliner
2011-06-22 18:39:36 +01:00
remy
e1ae854e67
fixed defaults being overwritten
2011-06-22 18:39:17 +01:00
remy
01dd4c743b
Merge branch 'master' of github.com:remy/inliner
2011-06-22 18:21:37 +01:00
remy
bd8890c6f4
+ license
2011-06-22 18:21:24 +01:00
remy
291182beec
fixed cache on inliner when used as a module
2011-06-11 18:31:00 +01:00
remy
68a0bc8e88
Fixed style elements with direct descendant selectors being stripped, ie. body > * { foo: bar} was being converted to: body*{foo:bar} - missing '>'.
2011-06-11 17:51:04 +01:00
remy
78204a7f21
Fixed bug where printf control characters were causing JS inlining to break, i.e. console.log('12%d') => 12NaN instead of compressed to 12%d - was affecting people including jQuery minified.
2011-06-11 17:16:08 +01:00
remy
52b8f70a58
Fixed situation where minified inline JavaScript includes a <script> tag - needs to be escaped.
2011-06-11 16:28:59 +01:00
remy
c418d6f32c
typo in readme
2011-06-11 12:56:58 +01:00
remy
fb9991d679
Forgot CSS images in the no image options
2011-06-11 12:54:08 +01:00
remy
c64afcc42f
Merge branch 'master' of github.com:remy/inliner
2011-06-11 12:50:03 +01:00
remy
fbee9f9534
Updated help with details of command line options and how to include as a submodule.
2011-06-11 12:49:51 +01:00
remy
7c9b89f0a9
pre white space now remains intact, inliner executable supports more options on command line - in addition to optionally not base64 encoding images.
2011-06-11 12:41:19 +01:00
Remy Sharp
7827c4c7dc
Merge pull request #9 from gregersrygg/master
...
Strip whitespace in css url()
2011-06-11 04:17:20 -07:00
remy
1417f2d28e
tweaking package versions
2011-06-11 12:09:50 +01:00
Gregers Gram Rygg
5ab47ddfae
Support whitespace for css-urls according to spec http://www.w3.org/TR/CSS21/syndata.html#uri
2011-06-09 16:06:20 +02:00
remy
10ec00bdd0
not re-requested assets, and trying to make use of a cache, and better command line options
2011-05-30 13:38:13 +01:00
remy
2c3f499ed1
changed submodule location
2011-05-30 12:38:10 +01:00
remy
57429c1742
removed incorrectly loaded submodule
2011-05-30 12:37:22 +01:00
remy
bbc114efc8
Merge branch 'master' of github.com:remy/inliner
2011-05-30 01:35:26 +01:00
remy
da3311cb54
make gzip support optional for command line use
2011-05-30 01:35:15 +01:00
remy
4dcafce31e
support gzip compression.
2011-05-30 01:33:09 +01:00
remy
604f5f9cc9
support gzip compression. Closes #8
2011-05-30 01:31:16 +01:00
Remy Sharp
279f18feb0
Wrong url on git clone method
2011-05-29 16:58:31 -07:00
remy
f5fbdcb925
inline style css images
2011-05-30 00:35:34 +01:00
remy
079f27afe7
fixed multiple @import going in to a request loop
2011-05-29 23:25:17 +01:00
remy
09e259282d
fix for urls without a default path - breaks in node 0.5.0pre
2011-05-29 18:02:24 +01:00
remy
e7e4119590
Removed compress library - unused
2011-05-29 17:38:59 +01:00
remy
6e34cd0643
handle failed connections
2011-05-29 17:08:24 +01:00
remy
10fcbea9ca
- fixed requests including query strings
...
- fixed bug with jsdom encountering empty script tag and bombing out (Closes #4 )
- fixed @import in inline style using relative path
- added command line option 'nocompress' to leave whitespace in CSS and HTML (for debugging)
2011-05-29 15:37:52 +01:00
remy
750fc30466
follows location redirects
2011-05-25 17:24:22 +01:00
remy
57450dec87
fix for empty html
2011-05-25 17:12:38 +01:00
remy
05619f1d1e
bump
2011-05-25 16:42:54 +01:00
remy
4046275a24
removed random log output
2011-05-25 16:42:42 +01:00