lib/sass/script/string.rb in sass-3.2.7 vs lib/sass/script/string.rb in sass-3.2.8

- old
+ new

@@ -31,10 +31,10 @@ end # @see Node#to_s def to_s(opts = {}) if @type == :identifier - return @value.gsub(/\s+/, " ") + return @value.gsub(/\n\s*/, " ") end return "\"#{value.gsub('"', "\\\"")}\"" if opts[:quote] == %q{"} return "'#{value.gsub("'", "\\'")}'" if opts[:quote] == %q{'} return "\"#{value}\"" unless value.include?('"')