From 48a0356ad8bc7b965e64f82498a9adcc1872abad Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Tue, 7 Jul 2009 11:31:03 -0700 Subject: [PATCH] [Installer] Fixed a bug that caused the output after installing to not display the conditional comments. --- lib/compass/installers/rails.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compass/installers/rails.rb b/lib/compass/installers/rails.rb index fef642347c..3d920a51c2 100644 --- a/lib/compass/installers/rails.rb +++ b/lib/compass/installers/rails.rb @@ -121,8 +121,8 @@ def stylesheet_links if stylesheet.options[:media] ss_line += ", :media => '#{stylesheet.options[:media]}'" end - if stylesheet.options[:ie] - ss_line = " /[if IE]\n " + ss_line + if stylesheet.options[:condition] + ss_line = " /[if #{stylesheet.options[:condition]}]\n " + ss_line end html << ss_line + "\n" end