Name |
Last commit
|
Last update |
---|---|---|
.. | ||
__init__.py | ||
closure.py | ||
cssmin.py | ||
csstidy.py | ||
jsmin.py | ||
slimit.py | ||
uglifyjs.py | ||
yuglify.py | ||
yui.py |
The current code inserts bytes into a string. In Python 3 those are different types, causing the URI to look like: url("data:image/png;charset=utf-8;base64,b'iVBORw0KGgoAAAANSUhEUgAAAA...'") Because Base64 data is always ASCII it is safe to decode it as such, and insert the resulting string, which causes the correct output: url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAAA...")
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
__init__.py | Loading commit data... | |
closure.py | Loading commit data... | |
cssmin.py | Loading commit data... | |
csstidy.py | Loading commit data... | |
jsmin.py | Loading commit data... | |
slimit.py | Loading commit data... | |
uglifyjs.py | Loading commit data... | |
yuglify.py | Loading commit data... | |
yui.py | Loading commit data... |