veged / borschik

Main repository moved to https://github.com/bem/borschik. Extendable builder for text-based file formats.
http://bem.info/articles/borschik/
94 stars 0 forks source link

Quotation marks parsing problem since v0.2.6 #76

Closed vindm closed 11 years ago

vindm commented 11 years ago

b-domik__shadow.ie.css:

.b-domik__shadow__lt
{
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='b-domik__shadow__lt.ie.png');
}

Error:

No such file or directory: 
/home/vindm/www/auto2/lego/blocks-desktop/b-domik/shadow/b-domik__shadow__lt.ie.png');
}
* html .b-domik__shadow__rt
{
    background: none;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='b-domik__shadow__rt.ie.png

at /home/vindm/www/auto2/node_modules/borschik/lib/freeze.js:65:49
at Object.processPath (/home/vindm/www/auto2/node_modules/borschik/lib/freeze.js:22:12)
at [object Object].__base (/home/vindm/www/auto2/node_modules/borschik/lib/techs/css-base.js:26:30)
at [object Object].<anonymous> (/home/vindm/www/auto2/node_modules/borschik/lib/techs/css.js:82:68)
at [object Object].processLink (/home/vindm/www/auto2/node_modules/borschik/node_modules/inherit/lib/inherit.js:28:32)
at [object Object].process (/home/vindm/www/auto2/node_modules/borschik/lib/tech.js:70:54)
at [object Object].processInclude (/home/vindm/www/auto2/node_modules/borschik/lib/techs/css.js:74:61)
at [object Object].process (/home/vindm/www/auto2/node_modules/borschik/lib/tech.js:70:26)
at [object Object].process (/home/vindm/www/auto2/node_modules/borschik/lib/tech.js:24:56)
at Cmd.<anonymous> (/home/vindm/www/auto2/node_modules/borschik/lib/coa.js:67:14)
From previous event:
at Cmd._do (/home/vindm/www/auto2/node_modules/borschik/node_modules/coa/lib/cmd.js:424:14)
at Cmd.do (/home/vindm/www/auto2/node_modules/borschik/node_modules/coa/lib/cmd.js:471:17)
at Cmd.run (/home/vindm/www/auto2/node_modules/borschik/node_modules/coa/lib/cmd.js:459:21)
at Object.<anonymous> (/home/vindm/www/auto2/node_modules/borschik/bin/borschik:3:23)

But if we just put a comma after src it's allright:

.b-domik__shadow__lt
{
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='b-domik__shadow__lt.ie.png',);
}
afelix commented 11 years ago

Fixed in 0.2.8.