RedCloth 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of RedCloth might be problematic. Click here for more details.
- data/bin/redcloth +1 -1
- data/doc/CHANGELOG +160 -0
- data/doc/COPYING +25 -0
- data/doc/README +106 -0
- data/doc/REFERENCE +216 -0
- data/doc/make.rb +359 -0
- data/lib/redcloth.rb +77 -60
- data/run-tests.rb +3 -1
- data/setup.rb +1376 -0
- data/tests/hard_breaks.yml +26 -0
- data/tests/table.yml +4 -4
- data/tests/textism.yml +9 -0
- metadata +19 -11
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
in: |
|
3
|
+
|This|is|a|row|
|
4
|
+
{background:#ddd}. |This|is|grey|row|
|
5
|
+
|This|is|another|row|
|
6
|
+
out: |-
|
7
|
+
<table>
|
8
|
+
<tr>
|
9
|
+
<td>This</td>
|
10
|
+
<td>is</td>
|
11
|
+
<td>a</td>
|
12
|
+
<td>row</td>
|
13
|
+
</tr>
|
14
|
+
<tr style="background:#ddd;">
|
15
|
+
<td>This</td>
|
16
|
+
<td>is</td>
|
17
|
+
<td>grey</td>
|
18
|
+
<td>row</td>
|
19
|
+
</tr>
|
20
|
+
<tr>
|
21
|
+
<td>This</td>
|
22
|
+
<td>is</td>
|
23
|
+
<td>another</td>
|
24
|
+
<td>row</td>
|
25
|
+
</tr>
|
26
|
+
</table>
|
data/tests/table.yml
CHANGED
@@ -39,28 +39,28 @@ out: |-
|
|
39
39
|
<td>11/18/04</td>
|
40
40
|
<td>11/18/04</td>
|
41
41
|
<td>070</td>
|
42
|
-
<td>XML spec complete</td>
|
42
|
+
<td><span class="caps">XML</span> spec complete</td>
|
43
43
|
</tr>
|
44
44
|
<tr>
|
45
45
|
<td><img src="/i/g.gif" alt="" /></td>
|
46
46
|
<td>11/29/04</td>
|
47
47
|
<td>11/29/04</td>
|
48
48
|
<td>011</td>
|
49
|
-
<td>XML spec complete (KH is on schedule)</td>
|
49
|
+
<td><span class="caps">XML</span> spec complete (KH is on schedule)</td>
|
50
50
|
</tr>
|
51
51
|
<tr>
|
52
52
|
<td><img src="/i/g.gif" alt="" /></td>
|
53
53
|
<td>11/29/04</td>
|
54
54
|
<td>11/29/04</td>
|
55
55
|
<td>051</td>
|
56
|
-
<td>XML spec complete (KH is on schedule)</td>
|
56
|
+
<td><span class="caps">XML</span> spec complete (KH is on schedule)</td>
|
57
57
|
</tr>
|
58
58
|
<tr>
|
59
59
|
<td><img src="/i/g.gif" alt="" /></td>
|
60
60
|
<td>11/29/04</td>
|
61
61
|
<td>11/29/04</td>
|
62
62
|
<td>081</td>
|
63
|
-
<td>XML spec complete (KH is on schedule)</td>
|
63
|
+
<td><span class="caps">XML</span> spec complete (KH is on schedule)</td>
|
64
64
|
</tr>
|
65
65
|
<tr>
|
66
66
|
<td><img src="/i/g.gif" alt="" /></td>
|
data/tests/textism.yml
CHANGED
@@ -71,6 +71,12 @@ out: <p><strong>a phrase</strong></p>
|
|
71
71
|
in: '**a phrase**'
|
72
72
|
out: <p><b>a phrase</b></p>
|
73
73
|
---
|
74
|
+
in: '*(a)* a'
|
75
|
+
out: <p><strong>(a)</strong> a</p>
|
76
|
+
---
|
77
|
+
in: '*(a)* *'
|
78
|
+
out: <p><strong>(a)</strong> *</p>
|
79
|
+
---
|
74
80
|
in: Nabokov's ??Pnin??
|
75
81
|
out: <p>Nabokov’s <cite>Pnin</cite></p>
|
76
82
|
---
|
@@ -395,3 +401,6 @@ out: |-
|
|
395
401
|
<li>We must act</li>
|
396
402
|
</ul>
|
397
403
|
|
404
|
+
---
|
405
|
+
in: '"test":http://foo.com/b---ar'
|
406
|
+
out: <p><a href="http://foo.com/b---ar">test</a></p>
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.8.
|
2
|
+
rubygems_version: 0.8.10
|
3
3
|
specification_version: 1
|
4
4
|
name: RedCloth
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 3.0.
|
7
|
-
date: 2005-
|
6
|
+
version: 3.0.4
|
7
|
+
date: 2005-09-15
|
8
8
|
summary: RedCloth is a module for using Textile and Markdown in Ruby. Textile and Markdown are text formats. A very simple text format. Another stab at making readable text that can be converted to HTML.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -25,7 +25,7 @@ description: "No need to use verbose HTML to build your docs, your blogs, your p
|
|
25
25
|
Reference\":http://hobix.com/textile/. For more on Markdown, see \"Daring
|
26
26
|
Fireball's page\":http://daringfireball.net/projects/markdown/."
|
27
27
|
autorequire: redcloth
|
28
|
-
default_executable:
|
28
|
+
default_executable: redcloth
|
29
29
|
bindir: bin
|
30
30
|
has_rdoc: false
|
31
31
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
@@ -37,24 +37,32 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
37
37
|
version:
|
38
38
|
platform: ruby
|
39
39
|
authors:
|
40
|
-
-
|
40
|
+
- why the lucky stiff
|
41
41
|
files:
|
42
|
+
- setup.rb
|
43
|
+
- run-tests.rb
|
42
44
|
- bin/redcloth
|
45
|
+
- doc/CHANGELOG
|
46
|
+
- doc/COPYING
|
47
|
+
- doc/README
|
48
|
+
- doc/REFERENCE
|
49
|
+
- doc/make.rb
|
50
|
+
- lib/redcloth.rb
|
51
|
+
- tests/textism.yml
|
43
52
|
- tests/code.yml
|
44
53
|
- tests/images.yml
|
45
|
-
- tests/instiki.yml
|
46
54
|
- tests/links.yml
|
55
|
+
- tests/instiki.yml
|
56
|
+
- tests/poignant.yml
|
47
57
|
- tests/lists.yml
|
48
58
|
- tests/markdown.yml
|
49
|
-
- tests/poignant.yml
|
50
59
|
- tests/table.yml
|
51
|
-
- tests/
|
52
|
-
- lib/redcloth.rb
|
53
|
-
- run-tests.rb
|
60
|
+
- tests/hard_breaks.yml
|
54
61
|
test_files: []
|
55
62
|
rdoc_options: []
|
56
63
|
extra_rdoc_files: []
|
57
|
-
executables:
|
64
|
+
executables:
|
65
|
+
- redcloth
|
58
66
|
extensions: []
|
59
67
|
requirements: []
|
60
68
|
dependencies: []
|