lib/sass/selector/pseudo.rb in sass-3.4.20 vs lib/sass/selector/pseudo.rb in sass-3.4.21

- old
+ new

@@ -111,16 +111,16 @@ def normalized_name @normalized_name ||= name.gsub(/^-[a-zA-Z0-9]+-/, '') end # @see Selector#to_s - def to_s + def to_s(opts = {}) res = (syntactic_type == :class ? ":" : "::") + @name if @arg || @selector res << "(" res << @arg.strip if @arg res << " " if @arg && @selector - res << @selector.to_s if @selector + res << @selector.to_s(opts) if @selector res << ")" end res end