rouge 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ module Rouge
12
12
  module Plugins
13
13
  module Redcarpet
14
14
  def block_code(code, language)
15
- name, opts = language.split('?')
15
+ name, opts = language ? language.split('?', 2) : [nil, '']
16
16
 
17
17
  # parse the options hash from a cgi-style string
18
18
  opts = CGI.parse(opts || '').map do |k, vals|
@@ -1,5 +1,5 @@
1
1
  module Rouge
2
2
  def self.version
3
- "0.0.12"
3
+ "0.0.13"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rouge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: