BBRedCloth 0.8.2 → 0.8.3
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_bbcode.c +840 -1096
- data/ext/redcloth_scan/redcloth_bbcode_inline.c +664 -924
- data/ext/redcloth_scan/redcloth_bbcode_inline.rl +5 -4
- data/ext/redcloth_scan/redcloth_inline.c +2141 -2410
- data/lib/redcloth/version.rb +1 -1
- data/test/images.yml +4 -4
- metadata +6 -6
data/lib/redcloth/version.rb
CHANGED
data/test/images.yml
CHANGED
|
@@ -20,7 +20,7 @@ latex: |+
|
|
|
20
20
|
---
|
|
21
21
|
in: This is an !http://example.com/i/image.jpg!
|
|
22
22
|
html: <p>This is an <img src="http://example.com/i/image.jpg" alt="" /></p>
|
|
23
|
-
disable_inline_images: <p>This is an
|
|
23
|
+
disable_inline_images: "<p>This is an !<a href=\"http://example.com/i/image.jpg\">http://example.com/i/image.jpg</a>!</p>"
|
|
24
24
|
# Note that we are removing remote links fro security reasons for now
|
|
25
25
|
latex: |+
|
|
26
26
|
This is an
|
|
@@ -28,7 +28,7 @@ latex: |+
|
|
|
28
28
|
---
|
|
29
29
|
in: This is an !http://example.com/i/image.jpg#a1!
|
|
30
30
|
html: <p>This is an <img src="http://example.com/i/image.jpg#a1" alt="" /></p>
|
|
31
|
-
disable_inline_images: <p>This is an
|
|
31
|
+
disable_inline_images: "<p>This is an !<a href=\"http://example.com/i/image.jpg#a1\">http://example.com/i/image.jpg#a1</a>!</p>"
|
|
32
32
|
---
|
|
33
33
|
in: This is an !image.jpg!.
|
|
34
34
|
html: <p>This is an <img src="image.jpg" alt="" />.</p>
|
|
@@ -40,7 +40,7 @@ disable_inline_images: <p>This is an !image.jpg(with alt text)!.</p>
|
|
|
40
40
|
---
|
|
41
41
|
in: This is an !http://example.com/i/image.jpg!.
|
|
42
42
|
html: <p>This is an <img src="http://example.com/i/image.jpg" alt="" />.</p>
|
|
43
|
-
disable_inline_images: <p>This is an
|
|
43
|
+
disable_inline_images: "<p>This is an !<a href=\"http://example.com/i/image.jpg\">http://example.com/i/image.jpg</a>!.</p>"
|
|
44
44
|
---
|
|
45
45
|
in: This is an !http://example.com/i/image.jpg#a1!.
|
|
46
46
|
html: <p>This is an <img src="http://example.com/i/image.jpg#a1" alt="" />.</p>
|
|
@@ -194,7 +194,7 @@ html: <p>(This is an <a href="http://example.com/index.html?foo=bar&a=b#a1">
|
|
|
194
194
|
---
|
|
195
195
|
in: (This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a10) This is not.
|
|
196
196
|
html: <p>(This is an <a href="http://example.com/index.html?foo=bar&a=b#a10"><img src="http://example.com/i/image.jpg" alt="" /></a>) This is not.</p>
|
|
197
|
-
disable_inline_images: <p>(This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a10) This is not.</p>
|
|
197
|
+
#disable_inline_images: <p>(This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a10) This is not.</p>
|
|
198
198
|
---
|
|
199
199
|
name: image with relative src with dot
|
|
200
200
|
in: "!../../image.jpg!"
|
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: 57
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 8
|
|
9
|
-
-
|
|
10
|
-
version: 0.8.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.8.3
|
|
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-06-
|
|
18
|
+
date: 2011-06-09 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.3 - 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.3 - 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
|