Skip to content
New issue

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

+FIX less component doesn't work with data-uri e,g, base 64 encoded SVG #50

Closed
a2d opened this issue Aug 25, 2014 · 1 comment
Closed

Comments

@a2d
Copy link

a2d commented Aug 25, 2014

url(data:...) get treated as relative path since it doesn't start with slash or dot.

Fix: change line 175 in munee/meenie/munie/src/Munie/Asset/Type/Css.php

from: if ($filePath[0] !== '/') {

to: if ($filePath[0] !== '/' && substr($filePath,0,5) !== 'data:') {

Save. Don't forget it won't seem to work until you make a change to the source less file your'e trying to process (since there's caching)

@meenie
Copy link
Owner

meenie commented Mar 14, 2015

This has been fixed in #66. Thanks for posting your workaround :).

@meenie meenie closed this as completed Mar 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants