libsass
libsass copied to clipboard
Error: malformed URL
Problem appeared after upgrading to version 3.5.3.
input.sass
@import url(http://fonts.googleapis.com/css?family=Limelight&subset=latin,latin-ext)
Actual results
The following error occurs:
Error: malformed URL
on line 1 of ../../../../SharedFiles/import/sass/input.sass
>> @import url(http://fonts.googleapis.com/css?family=Limelight&subset=latin,"l
--------^
This error is caused by presence of comma in the URL and is typical only for indented syntax.
Expected result
@import url(http://fonts.googleapis.com/css?family=Limelight&subset=latin,latin-ext);
Looks like it may be related to the sass2scss bump in https://github.com/sass/libsass/commit/ca89d73e84616a87e64febb93afaa0bd70ef181d Not sure, just looked through the 3.5.2 to 3.5.3 diff and it seems to be the only thing related. Appears only to be an indented syntax issue
cc @mgreter
On Wed., 25 Apr. 2018, 12:35 pm Nick Schonning, [email protected] wrote:
Looks like it may be related to the sass2scss bump in ca89d73 https://github.com/sass/libsass/commit/ca89d73e84616a87e64febb93afaa0bd70ef181d Not sure, just looked through the 3.5.2 to 3.5.3 diff and it seems to be the only thing related. Appears only to be an indented syntax issue
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sass/libsass/issues/2637#issuecomment-384142621, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjZWOZ7b4Y0Ukb6k8pPZ9slp__U_2Uaks5tr-D4gaJpZM4TiLB3 .
As a work around I've released 3.5.4 which the sass2scss bump reverted since we need to get the node-sass release out.
This error is again relevant in version 3.6.0.
I created the PR with fixes for this error in the sass2scss repository.