diff options
Diffstat (limited to 'lib/coderay/scanners/lua.rb')
-rw-r--r-- | lib/coderay/scanners/lua.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/coderay/scanners/lua.rb b/lib/coderay/scanners/lua.rb index 185c133..fb1e45a 100644 --- a/lib/coderay/scanners/lua.rb +++ b/lib/coderay/scanners/lua.rb @@ -268,6 +268,9 @@ module Scanners @state = state end + encoder.end_group :string if [:string].include? state + brace_depth.times { encoder.end_group :map } + encoder end |