BBRedCloth 0.8.1 → 0.8.2
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.
- data/BBRedCloth.gemspec +4 -4
- data/ext/redcloth_scan/redcloth_inline.c +5186 -5183
- data/ext/redcloth_scan/redcloth_inline.rl +1 -1
- data/lib/redcloth/version.rb +1 -1
- data/test/test_restrictions.rb +1 -1
- metadata +6 -6
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
entity = ( "&" %A ( '#' digit+ | ( alpha ( alpha | digit )+ ) ) %T ';' ) >X ;
|
|
90
90
|
|
|
91
91
|
direct_uri = "http" "s"? "://" uchar+ absolute_path?;
|
|
92
|
-
automatic_url = direct_uri >X >A %{ STORE_URL("href"); } ;
|
|
92
|
+
automatic_url = (direct_uri -- '[' -- ']') >X >A %{ STORE_URL("href"); } ;
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
# info
|
data/lib/redcloth/version.rb
CHANGED
data/test/test_restrictions.rb
CHANGED
|
@@ -39,7 +39,7 @@ class TestRestrictions < Test::Unit::TestCase
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
generate_formatter_tests('disable_inline_images') do |doc|
|
|
42
|
-
RedCloth.new(doc['in'], [:disable_inline=>:image]).to_html
|
|
42
|
+
RedCloth.new(doc['in'], [{:disable_inline=>:image},:bbcode]).to_html
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
generate_formatter_tests('general_disable_inline') do |doc|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: BBRedCloth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 59
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 8
|
|
9
|
-
-
|
|
10
|
-
version: 0.8.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.8.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Ryan Alyea
|
|
@@ -15,12 +15,12 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-06-01 00:00:00 -07:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies: []
|
|
21
21
|
|
|
22
22
|
description: |-
|
|
23
|
-
BBRedCloth-0.8.
|
|
23
|
+
BBRedCloth-0.8.2 - Textile parser for Ruby. Includes BBCode additions.
|
|
24
24
|
http://redcloth.org/
|
|
25
25
|
email: ryan@fangamer.com
|
|
26
26
|
executables:
|
|
@@ -148,7 +148,7 @@ rubyforge_project: bbredcloth
|
|
|
148
148
|
rubygems_version: 1.3.7
|
|
149
149
|
signing_key:
|
|
150
150
|
specification_version: 3
|
|
151
|
-
summary: BBRedCloth-0.8.
|
|
151
|
+
summary: BBRedCloth-0.8.2 - Textile parser for Ruby. Includes BBCode additions. http://redcloth.org/
|
|
152
152
|
test_files:
|
|
153
153
|
- test/test_custom_tags.rb
|
|
154
154
|
- test/test_erb.rb
|