We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background:
Since PR #103 URLs are passed through encodeURI in get.js:
encodeURI
inliner/lib/get.js
Line 74 in df3619f
Problem:
This can result in 404s for otherwise working URLs. Example:
<img src="http://example.com/img/ExampleImage%20Space.png" />
Passing it through encodeURI turns the encoded space character %20 into %2520:
%20
%2520
encodeURI('http://example.com/img/ExampleImage%20Space.png') "http://example.com/img/ExampleImage%2520Space.png"
Which breaks the URL, and now we get a 404 for the image when trying to inline it.
The text was updated successfully, but these errors were encountered:
PR made: #192
Anyone bumping into this issue could use my branch for the time being:
yarn add https://github.com/codeclown/inliner.git#encoded-space
Sorry, something went wrong.
No branches or pull requests
Background:
Since PR #103 URLs are passed through
encodeURI
in get.js:inliner/lib/get.js
Line 74 in df3619f
Problem:
This can result in 404s for otherwise working URLs. Example:
Passing it through
encodeURI
turns the encoded space character%20
into%2520
:Which breaks the URL, and now we get a 404 for the image when trying to inline it.
The text was updated successfully, but these errors were encountered: