8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent def7e09 commit 62a0be9Copy full SHA for 62a0be9
lib/coderay/scanners/sass.rb
@@ -44,7 +44,7 @@ def scan_tokens encoder, options
44
elsif case states.last
45
when :initial, :media, :sass_inline
46
if match = scan(/(?>#{RE::Ident})(?!\()/ox)
47
- encoder.text_token match, value_expected ? :value : (check(/.*:/) ? :key : :tag)
+ encoder.text_token match, value_expected ? :value : (check(/.*:(?![a-z])/) ? :key : :tag)
48
next
49
elsif !value_expected && (match = scan(/\*/))
50
encoder.text_token match, :tag
0 commit comments