gerbil 3.0.2 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,8 +2,8 @@
2
2
 
3
3
  Gerbil = {
4
4
  :name => 'Gerbil',
5
- :version => '3.0.2',
6
- :release => '2008-06-08',
5
+ :version => '3.1.0',
6
+ :release => '2008-06-22',
7
7
  :website => 'http://gerbil.rubyforge.org',
8
8
  :home => File.expand_path(File.join(File.dirname(__FILE__), '..'))
9
9
  }
@@ -70,7 +70,7 @@ class String
70
70
  # redcloth wraps a single item within paragraph tags, which
71
71
  # prevents the item's HTML from being validly injected within
72
72
  # other block-level elements, such as headings (h1, h2, etc.)
73
- html.sub! %r{^<p>(.*)</p>$}m do |match|
73
+ html.sub! %r{\A<p>(.*)</p>\Z}m do |match|
74
74
  payload = $1
75
75
 
76
76
  if payload =~ /<p>/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gerbil
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors: []
7
7
 
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-06-08 00:00:00 -07:00
12
+ date: 2008-06-22 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency