octopress-code-highlighter 4.2.1 → 4.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a036d25122bb9a29e53d9f4631da1490eb238e8
4
- data.tar.gz: 52600bbb3b960bcbb72137da1671fa73d6721050
3
+ metadata.gz: 3f4110adaf63b2c19179fe9d7875bd7aec2bab57
4
+ data.tar.gz: 73534aa137becb88019023331a0770f6fec438ce
5
5
  SHA512:
6
- metadata.gz: cbc34b7b0722b185bd1f10d76473d2341097b88c9d01741ddc89a2d1dff6d151044ff1130fcef35afd7e999c4296fe86f6be6e4c32b1506ab1527e1e3ff4596e
7
- data.tar.gz: 1d1349ff1bb0928ca96310ccc62bdae556ec0d6afd9515e8c47603dabe088c6d88c64811857ad761abf1be2bf5266fe67f3634a8ac410c99aa8ecfd6244fc42b
6
+ metadata.gz: f81da4dbecd56554077ddc007941a0f83846c9044690728c64da108a4bc955eb47bbbef504f15147174f896f4737b6cda6eab92cdd074b915b1406956300cb22
7
+ data.tar.gz: 29f4ea15fb3caa4eb15dee19533a393c77958b3b35314d901b28799e7983dfe3cb0947a6c9a3e325e6389de5f01761ef294f9788b3eb4f14e5222281df452d50
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.2.2 - 2014-07-07
4
+ - Fixed: Closing spans aren't wrapped to a newline.
5
+
3
6
  ## 4.2.1 - 2014-06-29
4
7
  - Improved support for new Pygments.rb.
5
8
 
@@ -74,7 +74,8 @@ module Octopress
74
74
  code = $1.strip
75
75
  end
76
76
 
77
- code
77
+ # Force wrapping after tags
78
+ code.gsub(/\n<\/span>/, "</span>\n")
78
79
  end
79
80
 
80
81
  def render_plain
@@ -1,6 +1,6 @@
1
1
  module Octopress
2
2
  module CodeHighlighter
3
- VERSION = "4.2.1"
3
+ VERSION = "4.2.2"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-code-highlighter
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.1
4
+ version: 4.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-30 00:00:00.000000000 Z
11
+ date: 2014-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorator