gerbil 3.0.2 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/HelloWorld.input +8 -8
- data/doc/HelloWorld.spec +30 -34
- data/doc/api/classes/String.src/M000002.html +1 -1
- data/doc/api/created.rid +1 -1
- data/doc/api/files/lib/gerbil/html_rb.html +1 -1
- data/doc/api/files/lib/gerbil_rb.html +2 -2
- data/doc/gerbil.png +0 -0
- data/doc/gerbil.svg +18 -10
- data/doc/guide.erb +36 -31
- data/doc/guide.html +787 -1283
- data/fmt/html.yaml +306 -216
- data/lib/gerbil.rb +2 -2
- data/lib/gerbil/html.rb +1 -1
- metadata +2 -2
data/lib/gerbil.rb
CHANGED
data/lib/gerbil/html.rb
CHANGED
@@ -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{
|
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
|
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-
|
12
|
+
date: 2008-06-22 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|