diff --git a/lib/rouge/lexers/docker.rb b/lib/rouge/lexers/docker.rb index 4828fc9a27..1aff25700e 100644 --- a/lib/rouge/lexers/docker.rb +++ b/lib/rouge/lexers/docker.rb @@ -61,7 +61,7 @@ class Docker < RegexLexer rule %r/\n/, Text, :pop! rule %r/^\s*#.*\n/, Comment rule %r/\s*\\./m, Str::Escape - rule %r/(\s*(?:\S+|"[^"]+"))(=)/ do + rule %r/(\s*(?:\S+|"[^"]+"|'[^']+'))(=)/ do groups Name::Property, Punctuation push :value end