You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That said, Css2sass relies on Sass::css built in parser and apparently that's not supported. The only thing I could/should do is to handle the error so it will not 500 like that.
On a pry session:
> require 'sass/css'
> true
> Sass::CSS.new("a b { color: red; } a > b { }").render(:scss)
> NoMethodError: undefined method `subject=' for ">":String
> from .../1.9.3-p448/lib/ruby/gems/1.9.1/gems/sass-3.2.5/lib/sass/css.rb:301:in `block in bubble_subject'
> Sass::CSS.new("a b { color: red; } a > b { color: blue; }").render(:scss)�[1B�[0G"a {\n b {\n color: red;\n }\n > b {\n color: blue;\n }\n}\n"
It might better to open an issue or a pull request over there.
Hi,
when I paste this peace of code into your online tool:
a b {
color: red;
}
a > b {
}
I got an Internal Server Error.
Regards
Chris
The text was updated successfully, but these errors were encountered: