veged/borschik — Issue #8: Error then there is an url with //
Author: toivonen
Created: 2012-02-12 16:50:12+00:00
State: open

borchick cannot understand links with 2 slashes (e.g. protocol)

If a css file has this code

background: url(//yandex.st/lego/_/ExOJSanIrX2IAis4l5gO2uX6M1E.png) no-repeat;

it falls with the error:

borschik -t css -i b-icon/examples/20-b-icon_css.css -o b-icon/examples/_20-b-icon_css.css
Error: ENOENT, no such file or directory '/yandex.st/lego/_/ExOJSanIrX2IAis4l5gO2uX6M1E.png'

The same with protocol

background: url(http://yandex.st/lego/_/PnbTopZ1Vv7fGqbO37Ix712qh2A.png) no-repeat -448px 0;