summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-06-23 06:15:55 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-06-23 06:15:55 +0200
commit4327fcbe932ac913f7eb8e92497f97913fb398c5 (patch)
tree7df1d7df5343125a66cb778bb3d672478ffcde1f /lib
parentdc6071129cdc1bcd15129147bbc4d92ba870f007 (diff)
downloadcoderay-4327fcbe932ac913f7eb8e92497f97913fb398c5.tar.gz
fix Sass regexp modifier
Diffstat (limited to 'lib')
-rw-r--r--lib/coderay/scanners/sass.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/sass.rb b/lib/coderay/scanners/sass.rb
index 0ba383f..e20bebe 100644
--- a/lib/coderay/scanners/sass.rb
+++ b/lib/coderay/scanners/sass.rb
@@ -195,7 +195,7 @@ module Scanners
elsif match = scan(/(?:rgb|hsl)a?\([^()\n]*\)?/)
encoder.text_token match, :color
- elsif match = scan(/@else if\b|#{RE::AtKeyword}/)
+ elsif match = scan(/@else if\b|#{RE::AtKeyword}/o)
encoder.text_token match, :directive
value_expected = true