maruku 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/maruku +16 -9
- data/bin/marutest +2 -0
- data/docs/maruku.md +0 -51
- data/lib/maruku/input/linesource.rb +1 -0
- data/lib/maruku/input/parse_block.rb +28 -19
- data/lib/maruku/input/parse_doc.rb +1 -0
- data/lib/maruku/output/to_html.rb +24 -8
- data/lib/maruku/output/to_latex.rb +1 -1
- data/lib/maruku/version.rb +1 -1
- data/tests/unittest/abbreviations.md +2 -12
- data/tests/unittest/alt.md +1 -10
- data/tests/unittest/attributes/att2.md +1 -3
- data/tests/unittest/attributes/att3.md +1 -11
- data/tests/unittest/attributes/attributes.md +1 -16
- data/tests/unittest/attributes/circular.md +1 -9
- data/tests/unittest/attributes/default.md +1 -10
- data/tests/unittest/blank.md +1 -9
- data/tests/unittest/blanks_in_code.md +1 -26
- data/tests/unittest/bug_def.md +1 -8
- data/tests/unittest/bug_table.md +1 -11
- data/tests/unittest/code.md +1 -14
- data/tests/unittest/code2.md +1 -16
- data/tests/unittest/code3.md +1 -26
- data/tests/unittest/data_loss.md +1 -12
- data/tests/unittest/easy.md +1 -11
- data/tests/unittest/email.md +3 -11
- data/tests/unittest/encoding/iso-8859-1.md +1 -9
- data/tests/unittest/encoding/utf-8.md +1 -7
- data/tests/unittest/entities.md +78 -35
- data/tests/unittest/escaping.md +5 -25
- data/tests/unittest/extra_dl.md +1 -10
- data/tests/unittest/extra_header_id.md +1 -18
- data/tests/unittest/extra_table1.md +1 -8
- data/tests/unittest/footnotes.md +1 -21
- data/tests/unittest/headers.md +1 -11
- data/tests/unittest/hex_entities.md +1 -8
- data/tests/unittest/hrule.md +1 -8
- data/tests/unittest/html2.md +1 -12
- data/tests/unittest/html3.md +1 -15
- data/tests/unittest/html4.md +1 -6
- data/tests/unittest/html5.md +1 -8
- data/tests/unittest/ie.md +32 -33
- data/tests/unittest/images.md +2 -19
- data/tests/unittest/images2.md +1 -10
- data/tests/unittest/inline_html.md +22 -145
- data/tests/unittest/inline_html2.md +1 -3
- data/tests/unittest/links.md +22 -8
- data/tests/unittest/links2.md +1 -8
- data/tests/unittest/list1.md +1 -19
- data/tests/unittest/list12.md +43 -0
- data/tests/unittest/list2.md +1 -21
- data/tests/unittest/list3.md +1 -29
- data/tests/unittest/list4.md +1 -19
- data/tests/unittest/lists.md +1 -59
- data/tests/unittest/lists10.md +2 -13
- data/tests/unittest/lists11.md +2 -28
- data/tests/unittest/lists6.md +1 -0
- data/tests/unittest/lists7.md +56 -8
- data/tests/unittest/lists7b.md +136 -0
- data/tests/unittest/lists8.md +1 -22
- data/tests/unittest/lists9.md +1 -21
- data/tests/unittest/lists_after_paragraph.md +3 -48
- data/tests/unittest/lists_ol.md +1 -81
- data/tests/unittest/loss.md +1 -4
- data/tests/unittest/math/equations.md +1 -14
- data/tests/unittest/math/inline.md +1 -15
- data/tests/unittest/math/math2.md +38 -12
- data/tests/unittest/math/notmath.md +1 -9
- data/tests/unittest/math/table.md +1 -9
- data/tests/unittest/math/table2.md +33 -10
- data/tests/unittest/misc_sw.md +1 -195
- data/tests/unittest/notyet/escape.md +3 -13
- data/tests/unittest/notyet/header_after_par.md +1 -11
- data/tests/unittest/notyet/ticks.md +2 -11
- data/tests/unittest/notyet/triggering.md +1 -32
- data/tests/unittest/olist.md +1 -15
- data/tests/unittest/one.md +1 -8
- data/tests/unittest/paragraph.md +1 -8
- data/tests/unittest/paragraph_rules/dont_merge_ref.md +1 -10
- data/tests/unittest/paragraph_rules/tab_is_blank.md +1 -9
- data/tests/unittest/paragraphs.md +1 -14
- data/tests/unittest/recover/recover_links.md +1 -6
- data/tests/unittest/references/long_example.md +1 -17
- data/tests/unittest/references/spaces_and_numbers.md +1 -0
- data/tests/unittest/smartypants.md +21 -6
- data/tests/unittest/syntax_hl.md +1 -24
- data/tests/unittest/table_attributes.md +1 -8
- data/tests/unittest/test.md +1 -5
- data/tests/unittest/wrapping.md +1 -18
- data/tests/unittest/xml.md +1 -15
- data/tests/unittest/xml2.md +1 -3
- data/tests/unittest/xml3.md +1 -9
- data/tests/unittest/xml_instruction.md +1 -10
- metadata +211 -215
@@ -8,17 +8,13 @@ Write a comment abouth the test here.
|
|
8
8
|
*** Output of inspect ***
|
9
9
|
md_el(:document,[md_par([md_code("\\\\")]), md_par([md_code("\\")])],{},[])
|
10
10
|
*** Output of to_html ***
|
11
|
-
|
12
11
|
<p><code>\\</code></p>
|
13
12
|
|
14
13
|
<p><code>\</code></p>
|
15
|
-
|
16
14
|
*** Output of to_latex ***
|
17
|
-
\colorbox[rgb]{1.00,0.93,1.00}{\tt \char92\char92}
|
18
|
-
|
19
|
-
\colorbox[rgb]{1.00,0.93,1.00}{\tt \char92}
|
20
|
-
|
15
|
+
{\colorbox[rgb]{1.00,0.93,1.00}{\tt \char92\char92}}
|
21
16
|
|
17
|
+
{\colorbox[rgb]{1.00,0.93,1.00}{\tt \char92}}
|
22
18
|
*** Output of to_md ***
|
23
19
|
|
24
20
|
*** Output of to_s ***
|
@@ -37,10 +33,4 @@ md_el(:document,[md_par([md_code("\\\\")]), md_par([md_code("\\")])],{},[])
|
|
37
33
|
<p><code>\</code></p>
|
38
34
|
|
39
35
|
*** Output of Markdown.pl (parsed) ***
|
40
|
-
<
|
41
|
-
><code>\\</code
|
42
|
-
></p
|
43
|
-
><p
|
44
|
-
><code>\</code
|
45
|
-
></p
|
46
|
-
>
|
36
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
@@ -23,7 +23,6 @@ md_el(:document,[
|
|
23
23
|
md_el(:header,["header"],{:level=>1},[])
|
24
24
|
],{},[])
|
25
25
|
*** Output of to_html ***
|
26
|
-
|
27
26
|
<p>Paragraph</p>
|
28
27
|
|
29
28
|
<h3 id='header'>header</h3>
|
@@ -35,7 +34,6 @@ md_el(:document,[
|
|
35
34
|
<p>Paragraph</p>
|
36
35
|
|
37
36
|
<h1 id='header'>header</h1>
|
38
|
-
|
39
37
|
*** Output of to_latex ***
|
40
38
|
Paragraph
|
41
39
|
|
@@ -48,8 +46,6 @@ Paragraph
|
|
48
46
|
Paragraph
|
49
47
|
|
50
48
|
\hypertarget{header}{}\section*{{header}}\label{header}
|
51
|
-
|
52
|
-
|
53
49
|
*** Output of to_md ***
|
54
50
|
Paragraph
|
55
51
|
|
@@ -82,10 +78,4 @@ ParagraphheaderParagraphheaderParagraphheader
|
|
82
78
|
<h1>header</h1>
|
83
79
|
|
84
80
|
*** Output of Markdown.pl (parsed) ***
|
85
|
-
<
|
86
|
-
><h3>header</h3
|
87
|
-
><p>Paragraph</p
|
88
|
-
><h2>header</h2
|
89
|
-
><p>Paragraph</p
|
90
|
-
><h1>header</h1
|
91
|
-
>
|
81
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
@@ -9,17 +9,11 @@ Write a comment abouth the test here.
|
|
9
9
|
*** Output of inspect ***
|
10
10
|
md_el(:document,[md_par([md_code("There is a literal backtick (`) here.")])],{},[])
|
11
11
|
*** Output of to_html ***
|
12
|
-
|
13
12
|
<p><code>There is a literal backtick (`) here.</code></p>
|
14
|
-
|
15
13
|
*** Output of to_latex ***
|
16
|
-
\colorbox[rgb]{1.00,0.93,1.00}{\tt There~is~a~literal~backtick~\char40\char96\char41~here\char46}
|
17
|
-
|
18
|
-
|
14
|
+
{\colorbox[rgb]{1.00,0.93,1.00}{\tt There~is~a~literal~backtick~\char40\char96\char41~here\char46}}
|
19
15
|
*** Output of to_md ***
|
20
16
|
|
21
|
-
|
22
|
-
|
23
17
|
*** Output of to_s ***
|
24
18
|
|
25
19
|
*** EOF ***
|
@@ -34,7 +28,4 @@ md_el(:document,[md_par([md_code("There is a literal backtick (`) here.")])],{},
|
|
34
28
|
<p><code>There is a literal backtick (`) here.</code></p>
|
35
29
|
|
36
30
|
*** Output of Markdown.pl (parsed) ***
|
37
|
-
<
|
38
|
-
><code>There is a literal backtick (`) here.</code
|
39
|
-
></p
|
40
|
-
>
|
31
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
@@ -62,7 +62,6 @@ md_el(:document,[
|
|
62
62
|
md_el(:header,["header"],{:level=>2},[])
|
63
63
|
],{},[])
|
64
64
|
*** Output of to_html ***
|
65
|
-
|
66
65
|
<p>Paragraph, list with no space: * ciao</p>
|
67
66
|
|
68
67
|
<p>Paragraph, list with 1 space: * ciao</p>
|
@@ -92,7 +91,6 @@ md_el(:document,[
|
|
92
91
|
<p>Paragraph with header on two lines:</p>
|
93
92
|
|
94
93
|
<h2 id='header'>header</h2>
|
95
|
-
|
96
94
|
*** Output of to_latex ***
|
97
95
|
Paragraph, list with no space: * ciao
|
98
96
|
|
@@ -124,8 +122,6 @@ Paragraph with header:
|
|
124
122
|
Paragraph with header on two lines:
|
125
123
|
|
126
124
|
\hypertarget{header}{}\subsection*{{header}}\label{header}
|
127
|
-
|
128
|
-
|
129
125
|
*** Output of to_md ***
|
130
126
|
Paragraph, list with no space: * ciao
|
131
127
|
|
@@ -207,31 +203,4 @@ Paragraph, list with no space: * ciaoParagraph, list with 1 space: * ciaoParagra
|
|
207
203
|
<h2>header</h2>
|
208
204
|
|
209
205
|
*** Output of Markdown.pl (parsed) ***
|
210
|
-
<
|
211
|
-
* ciao</p
|
212
|
-
><p>Paragraph, list with 1 space:
|
213
|
-
* ciao</p
|
214
|
-
><p>Paragraph, list with 3 space:
|
215
|
-
* ciao</p
|
216
|
-
><p>Paragraph, list with 4 spaces:
|
217
|
-
* ciao</p
|
218
|
-
><p>Paragraph, list with 1 tab:
|
219
|
-
* ciao</p
|
220
|
-
><p>Paragraph (1 space after), list with no space:
|
221
|
-
* ciao</p
|
222
|
-
><p>Paragraph (2 spaces after), list with no space: <br/
|
223
|
-
>
|
224
|
-
* ciao</p
|
225
|
-
><p>Paragraph (3 spaces after), list with no space: <br/
|
226
|
-
>
|
227
|
-
* ciao</p
|
228
|
-
><p>Paragraph with block quote:</p
|
229
|
-
><blockquote>
|
230
|
-
<p>Quoted</p
|
231
|
-
>
|
232
|
-
</blockquote
|
233
|
-
><p>Paragraph with header:</p
|
234
|
-
><h3>header</h3
|
235
|
-
><p>Paragraph with header on two lines:</p
|
236
|
-
><h2>header</h2
|
237
|
-
>
|
206
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
data/tests/unittest/olist.md
CHANGED
@@ -17,7 +17,6 @@ md_el(:document,[
|
|
17
17
|
],{},[])
|
18
18
|
],{},[])
|
19
19
|
*** Output of to_html ***
|
20
|
-
|
21
20
|
<p>This is a list:</p>
|
22
21
|
|
23
22
|
<ol>
|
@@ -27,7 +26,6 @@ md_el(:document,[
|
|
27
26
|
|
28
27
|
<li>three</li>
|
29
28
|
</ol>
|
30
|
-
|
31
29
|
*** Output of to_latex ***
|
32
30
|
This is a list:
|
33
31
|
|
@@ -37,15 +35,12 @@ This is a list:
|
|
37
35
|
\item three
|
38
36
|
|
39
37
|
\end{enumerate}
|
40
|
-
|
41
38
|
*** Output of to_md ***
|
42
39
|
This is a list:
|
43
40
|
|
44
41
|
1. one
|
45
42
|
2. two
|
46
43
|
3. three
|
47
|
-
|
48
|
-
|
49
44
|
*** Output of to_s ***
|
50
45
|
This is a list:onetwothree
|
51
46
|
*** EOF ***
|
@@ -66,13 +61,4 @@ This is a list:onetwothree
|
|
66
61
|
</ol>
|
67
62
|
|
68
63
|
*** Output of Markdown.pl (parsed) ***
|
69
|
-
<
|
70
|
-
><ol>
|
71
|
-
<li>one</li
|
72
|
-
>
|
73
|
-
<li>two</li
|
74
|
-
>
|
75
|
-
<li>three</li
|
76
|
-
>
|
77
|
-
</ol
|
78
|
-
>
|
64
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
data/tests/unittest/one.md
CHANGED
@@ -6,17 +6,11 @@ One line
|
|
6
6
|
*** Output of inspect ***
|
7
7
|
md_el(:document,[md_par(["One line"])],{},[])
|
8
8
|
*** Output of to_html ***
|
9
|
-
|
10
9
|
<p>One line</p>
|
11
|
-
|
12
10
|
*** Output of to_latex ***
|
13
11
|
One line
|
14
|
-
|
15
|
-
|
16
12
|
*** Output of to_md ***
|
17
13
|
One line
|
18
|
-
|
19
|
-
|
20
14
|
*** Output of to_s ***
|
21
15
|
One line
|
22
16
|
*** EOF ***
|
@@ -31,5 +25,4 @@ One line
|
|
31
25
|
<p>One line</p>
|
32
26
|
|
33
27
|
*** Output of Markdown.pl (parsed) ***
|
34
|
-
<
|
35
|
-
>
|
28
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
data/tests/unittest/paragraph.md
CHANGED
@@ -7,17 +7,11 @@ Paragraph
|
|
7
7
|
*** Output of inspect ***
|
8
8
|
md_el(:document,[md_par(["Paragraph"])],{},[])
|
9
9
|
*** Output of to_html ***
|
10
|
-
|
11
10
|
<p>Paragraph</p>
|
12
|
-
|
13
11
|
*** Output of to_latex ***
|
14
12
|
Paragraph
|
15
|
-
|
16
|
-
|
17
13
|
*** Output of to_md ***
|
18
14
|
Paragraph
|
19
|
-
|
20
|
-
|
21
15
|
*** Output of to_s ***
|
22
16
|
Paragraph
|
23
17
|
*** EOF ***
|
@@ -32,5 +26,4 @@ Paragraph
|
|
32
26
|
<p>Paragraph</p>
|
33
27
|
|
34
28
|
*** Output of Markdown.pl (parsed) ***
|
35
|
-
<
|
36
|
-
>
|
29
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
@@ -21,29 +21,23 @@ md_el(:document,[
|
|
21
21
|
md_ref_def("google3", "#", {:title=>nil})
|
22
22
|
],{},[])
|
23
23
|
*** Output of to_html ***
|
24
|
-
|
25
24
|
<p>Paragraph</p>
|
26
25
|
|
27
26
|
<p>Paragraph</p>
|
28
27
|
|
29
28
|
<p>Paragraph</p>
|
30
|
-
|
31
29
|
*** Output of to_latex ***
|
32
30
|
Paragraph
|
33
31
|
|
34
32
|
Paragraph
|
35
33
|
|
36
34
|
Paragraph
|
37
|
-
|
38
|
-
|
39
35
|
*** Output of to_md ***
|
40
36
|
Paragraph
|
41
37
|
|
42
38
|
Paragraph
|
43
39
|
|
44
40
|
Paragraph
|
45
|
-
|
46
|
-
|
47
41
|
*** Output of to_s ***
|
48
42
|
ParagraphParagraphParagraph
|
49
43
|
*** EOF ***
|
@@ -60,7 +54,4 @@ Paragraph
|
|
60
54
|
Paragraph</p>
|
61
55
|
|
62
56
|
*** Output of Markdown.pl (parsed) ***
|
63
|
-
<
|
64
|
-
Paragraph
|
65
|
-
Paragraph</p
|
66
|
-
>
|
57
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
@@ -9,23 +9,17 @@ Paragraph2
|
|
9
9
|
*** Output of inspect ***
|
10
10
|
md_el(:document,[md_par(["Paragraph1"]), md_par(["Paragraph2"])],{},[])
|
11
11
|
*** Output of to_html ***
|
12
|
-
|
13
12
|
<p>Paragraph1</p>
|
14
13
|
|
15
14
|
<p>Paragraph2</p>
|
16
|
-
|
17
15
|
*** Output of to_latex ***
|
18
16
|
Paragraph1
|
19
17
|
|
20
18
|
Paragraph2
|
21
|
-
|
22
|
-
|
23
19
|
*** Output of to_md ***
|
24
20
|
Paragraph1
|
25
21
|
|
26
22
|
Paragraph2
|
27
|
-
|
28
|
-
|
29
23
|
*** Output of to_s ***
|
30
24
|
Paragraph1Paragraph2
|
31
25
|
*** EOF ***
|
@@ -42,6 +36,4 @@ Paragraph1Paragraph2
|
|
42
36
|
<p>Paragraph2</p>
|
43
37
|
|
44
38
|
*** Output of Markdown.pl (parsed) ***
|
45
|
-
<
|
46
|
-
><p>Paragraph2</p
|
47
|
-
>
|
39
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
@@ -24,21 +24,17 @@ md_el(:document,[
|
|
24
24
|
])
|
25
25
|
],{},[])
|
26
26
|
*** Output of to_html ***
|
27
|
-
|
28
27
|
<p>Paragraph 1</p>
|
29
28
|
|
30
29
|
<p>Paragraph 2</p>
|
31
30
|
|
32
31
|
<p>Paragraph 3 Paragraph 4 Paragraph Br-><br />Paragraph 5</p>
|
33
|
-
|
34
32
|
*** Output of to_latex ***
|
35
33
|
Paragraph 1
|
36
34
|
|
37
35
|
Paragraph 2
|
38
36
|
|
39
37
|
Paragraph 3 Paragraph 4 Paragraph Br-{\tt \char62}\newline Paragraph 5
|
40
|
-
|
41
|
-
|
42
38
|
*** Output of to_md ***
|
43
39
|
Paragraph 1
|
44
40
|
|
@@ -46,8 +42,6 @@ Paragraph 2
|
|
46
42
|
|
47
43
|
Paragraph 3 Paragraph 4 Paragraph Br->
|
48
44
|
Paragraph 5
|
49
|
-
|
50
|
-
|
51
45
|
*** Output of to_s ***
|
52
46
|
Paragraph 1Paragraph 2Paragraph 3 Paragraph 4 Paragraph Br->Paragraph 5
|
53
47
|
*** EOF ***
|
@@ -69,11 +63,4 @@ Paragraph Br-> <br />
|
|
69
63
|
Paragraph 5</p>
|
70
64
|
|
71
65
|
*** Output of Markdown.pl (parsed) ***
|
72
|
-
<
|
73
|
-
><p>Paragraph 2</p
|
74
|
-
><p>Paragraph 3
|
75
|
-
Paragraph 4
|
76
|
-
Paragraph Br-> <br/
|
77
|
-
>
|
78
|
-
Paragraph 5</p
|
79
|
-
>
|
66
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
@@ -6,13 +6,9 @@ Search on [Google images][ GoOgle search ]
|
|
6
6
|
*** Output of inspect ***
|
7
7
|
md_el(:document,[md_par(["Search on Google imagesGoOgle search ]"])],{},[])
|
8
8
|
*** Output of to_html ***
|
9
|
-
|
10
9
|
<p>Search on Google imagesGoOgle search ]</p>
|
11
|
-
|
12
10
|
*** Output of to_latex ***
|
13
11
|
Search on Google imagesGoOgle search ]
|
14
|
-
|
15
|
-
|
16
12
|
*** Output of to_md ***
|
17
13
|
Search on Google imagesGoOgle search ]
|
18
14
|
*** Output of to_s ***
|
@@ -29,5 +25,4 @@ Search on Google imagesGoOgle search ]
|
|
29
25
|
<p>Search on [Google images][ GoOgle search ]</p>
|
30
26
|
|
31
27
|
*** Output of Markdown.pl (parsed) ***
|
32
|
-
|
33
|
-
>
|
28
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
@@ -51,17 +51,13 @@ md_el(:document,[
|
|
51
51
|
])
|
52
52
|
],{},[])
|
53
53
|
*** Output of to_html ***
|
54
|
-
|
55
54
|
<p>filters – including <a href='http://docutils.sourceforge.net/mirror/setext.html'>Setext</a>, <a href='http://www.aaronsw.com/2002/atx/'>atx</a>, <a href='http://textism.com/tools/textile/'>Textile</a>, <a href='http://docutils.sourceforge.net/rst.html'>reStructuredText</a>, <a href='http://www.triptico.com/software/grutatxt.html'>Grutatext</a>, and <a href='http://ettext.taint.org/doc/'>EtText</a> – the single biggest source of inspiration for Markdown’s syntax is the format of plain text email.</p>
|
56
55
|
|
57
56
|
<p>To this end, Markdown’s syntax is comprised entirely of punctuation</p>
|
58
|
-
|
59
57
|
*** Output of to_latex ***
|
60
58
|
filters --{} including \href{http://docutils.sourceforge.net/mirror/setext.html}{Setext}, \href{http://www.aaronsw.com/2002/atx/}{atx}, \href{http://textism.com/tools/textile/}{Textile}, \href{http://docutils.sourceforge.net/rst.html}{reStructuredText}, \href{http://www.triptico.com/software/grutatxt.html}{Grutatext}, and \href{http://ettext.taint.org/doc/}{EtText} --{} the single biggest source of inspiration for Markdown'{}s syntax is the format of plain text email.
|
61
59
|
|
62
60
|
To this end, Markdown'{}s syntax is comprised entirely of punctuation
|
63
|
-
|
64
|
-
|
65
61
|
*** Output of to_md ***
|
66
62
|
filters including Setext, atx, Textile,
|
67
63
|
reStructuredText, Grutatext, and EtText
|
@@ -71,8 +67,6 @@ the format of plain text email.
|
|
71
67
|
|
72
68
|
To this end, Markdown s syntax is
|
73
69
|
comprised entirely of punctuation
|
74
|
-
|
75
|
-
|
76
70
|
*** Output of to_s ***
|
77
71
|
filters including Setext, atx, Textile, reStructuredText, Grutatext, and EtText the single biggest source of inspiration for Markdowns syntax is the format of plain text email.To this end, Markdowns syntax is comprised entirely of punctuation
|
78
72
|
*** EOF ***
|
@@ -91,14 +85,4 @@ inspiration for Markdown's syntax is the format of plain text email.</p>
|
|
91
85
|
<p>To this end, Markdown's syntax is comprised entirely of punctuation</p>
|
92
86
|
|
93
87
|
*** Output of Markdown.pl (parsed) ***
|
94
|
-
|
95
|
-
>, <a href='http://www.aaronsw.com/2002/atx/'>atx</a
|
96
|
-
>, <a href='http://textism.com/tools/textile/'>Textile</a
|
97
|
-
>, <a href='http://docutils.sourceforge.net/rst.html'>reStructuredText</a
|
98
|
-
>,
|
99
|
-
<a href='http://www.triptico.com/software/grutatxt.html'>Grutatext</a
|
100
|
-
>, and <a href='http://ettext.taint.org/doc/'>EtText</a
|
101
|
-
> -- the single biggest source of
|
102
|
-
inspiration for Markdown's syntax is the format of plain text email.</p
|
103
|
-
><p>To this end, Markdown's syntax is comprised entirely of punctuation</p
|
104
|
-
>
|
88
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
@@ -68,7 +68,6 @@ md_el(:document,[
|
|
68
68
|
],{},[])
|
69
69
|
],{},[])
|
70
70
|
*** Output of to_html ***
|
71
|
-
|
72
71
|
<pre><code>'Twas a "test" to 'remember' in the '90s.</code></pre>
|
73
72
|
|
74
73
|
<p>‘Twas a “test” to ‘remember’ in the ’90s.</p>
|
@@ -86,7 +85,6 @@ md_el(:document,[
|
|
86
85
|
<blockquote>
|
87
86
|
<p>She was 6"12'.</p>
|
88
87
|
</blockquote>
|
89
|
-
|
90
88
|
*** Output of to_latex ***
|
91
89
|
\begin{verbatim}'Twas a "test" to 'remember' in the '90s.\end{verbatim}
|
92
90
|
`{}Twas a ``{}test''{} to `{}remember'{} in the '{}90s.
|
@@ -103,7 +101,6 @@ She was 6"{}12'{}.
|
|
103
101
|
|
104
102
|
|
105
103
|
\end{quote}
|
106
|
-
|
107
104
|
*** Output of to_md ***
|
108
105
|
Twas a test to remember in the 90s.
|
109
106
|
|
@@ -113,8 +110,6 @@ I too met some curly quotes there or
|
|
113
110
|
here No space.
|
114
111
|
|
115
112
|
She was 6 12 .
|
116
|
-
|
117
|
-
|
118
113
|
*** Output of to_s ***
|
119
114
|
Twas a test to remember in the 90s.It was in a sense really interesting.I too met some curly quotes there or hereNo space.She was 612.
|
120
115
|
*** EOF ***
|
@@ -149,7 +144,27 @@ Twas a test to remember in the 90s.It was in a sense really interesting.I too
|
|
149
144
|
</blockquote>
|
150
145
|
|
151
146
|
*** Output of Markdown.pl (parsed) ***
|
152
|
-
Error: #<REXML::ParseException: Missing end tag for 'here' (got "p")
|
147
|
+
Error: #<REXML::ParseException: #<REXML::ParseException: Missing end tag for 'here' (got "p")
|
148
|
+
Line:
|
149
|
+
Position:
|
150
|
+
Last 80 unconsumed characters:
|
151
|
+
<pre><code>She was 6\"12\'. </code></pre> <blockquote> <p>She was 6\"12\'.</>
|
152
|
+
/Volumes/Alter/Ruby/local186/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
153
|
+
/Volumes/Alter/Ruby/local186/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
154
|
+
/Volumes/Alter/Ruby/local186/lib/ruby/1.8/rexml/document.rb:190:in `build'
|
155
|
+
/Volumes/Alter/Ruby/local186/lib/ruby/1.8/rexml/document.rb:45:in `initialize'
|
156
|
+
bin/marutest:199:in `new'
|
157
|
+
bin/marutest:199:in `run_test'
|
158
|
+
bin/marutest:262:in `marutest'
|
159
|
+
bin/marutest:259:in `each'
|
160
|
+
bin/marutest:259:in `marutest'
|
161
|
+
bin/marutest:334
|
162
|
+
...
|
163
|
+
Missing end tag for 'here' (got "p")
|
164
|
+
Line:
|
165
|
+
Position:
|
166
|
+
Last 80 unconsumed characters:
|
167
|
+
<pre><code>She was 6\"12\'. </code></pre> <blockquote> <p>She was 6\"12\'.</
|
153
168
|
Line:
|
154
169
|
Position:
|
155
170
|
Last 80 unconsumed characters:
|