maruku 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. data/bin/maruku +16 -9
  2. data/bin/marutest +2 -0
  3. data/docs/maruku.md +0 -51
  4. data/lib/maruku/input/linesource.rb +1 -0
  5. data/lib/maruku/input/parse_block.rb +28 -19
  6. data/lib/maruku/input/parse_doc.rb +1 -0
  7. data/lib/maruku/output/to_html.rb +24 -8
  8. data/lib/maruku/output/to_latex.rb +1 -1
  9. data/lib/maruku/version.rb +1 -1
  10. data/tests/unittest/abbreviations.md +2 -12
  11. data/tests/unittest/alt.md +1 -10
  12. data/tests/unittest/attributes/att2.md +1 -3
  13. data/tests/unittest/attributes/att3.md +1 -11
  14. data/tests/unittest/attributes/attributes.md +1 -16
  15. data/tests/unittest/attributes/circular.md +1 -9
  16. data/tests/unittest/attributes/default.md +1 -10
  17. data/tests/unittest/blank.md +1 -9
  18. data/tests/unittest/blanks_in_code.md +1 -26
  19. data/tests/unittest/bug_def.md +1 -8
  20. data/tests/unittest/bug_table.md +1 -11
  21. data/tests/unittest/code.md +1 -14
  22. data/tests/unittest/code2.md +1 -16
  23. data/tests/unittest/code3.md +1 -26
  24. data/tests/unittest/data_loss.md +1 -12
  25. data/tests/unittest/easy.md +1 -11
  26. data/tests/unittest/email.md +3 -11
  27. data/tests/unittest/encoding/iso-8859-1.md +1 -9
  28. data/tests/unittest/encoding/utf-8.md +1 -7
  29. data/tests/unittest/entities.md +78 -35
  30. data/tests/unittest/escaping.md +5 -25
  31. data/tests/unittest/extra_dl.md +1 -10
  32. data/tests/unittest/extra_header_id.md +1 -18
  33. data/tests/unittest/extra_table1.md +1 -8
  34. data/tests/unittest/footnotes.md +1 -21
  35. data/tests/unittest/headers.md +1 -11
  36. data/tests/unittest/hex_entities.md +1 -8
  37. data/tests/unittest/hrule.md +1 -8
  38. data/tests/unittest/html2.md +1 -12
  39. data/tests/unittest/html3.md +1 -15
  40. data/tests/unittest/html4.md +1 -6
  41. data/tests/unittest/html5.md +1 -8
  42. data/tests/unittest/ie.md +32 -33
  43. data/tests/unittest/images.md +2 -19
  44. data/tests/unittest/images2.md +1 -10
  45. data/tests/unittest/inline_html.md +22 -145
  46. data/tests/unittest/inline_html2.md +1 -3
  47. data/tests/unittest/links.md +22 -8
  48. data/tests/unittest/links2.md +1 -8
  49. data/tests/unittest/list1.md +1 -19
  50. data/tests/unittest/list12.md +43 -0
  51. data/tests/unittest/list2.md +1 -21
  52. data/tests/unittest/list3.md +1 -29
  53. data/tests/unittest/list4.md +1 -19
  54. data/tests/unittest/lists.md +1 -59
  55. data/tests/unittest/lists10.md +2 -13
  56. data/tests/unittest/lists11.md +2 -28
  57. data/tests/unittest/lists6.md +1 -0
  58. data/tests/unittest/lists7.md +56 -8
  59. data/tests/unittest/lists7b.md +136 -0
  60. data/tests/unittest/lists8.md +1 -22
  61. data/tests/unittest/lists9.md +1 -21
  62. data/tests/unittest/lists_after_paragraph.md +3 -48
  63. data/tests/unittest/lists_ol.md +1 -81
  64. data/tests/unittest/loss.md +1 -4
  65. data/tests/unittest/math/equations.md +1 -14
  66. data/tests/unittest/math/inline.md +1 -15
  67. data/tests/unittest/math/math2.md +38 -12
  68. data/tests/unittest/math/notmath.md +1 -9
  69. data/tests/unittest/math/table.md +1 -9
  70. data/tests/unittest/math/table2.md +33 -10
  71. data/tests/unittest/misc_sw.md +1 -195
  72. data/tests/unittest/notyet/escape.md +3 -13
  73. data/tests/unittest/notyet/header_after_par.md +1 -11
  74. data/tests/unittest/notyet/ticks.md +2 -11
  75. data/tests/unittest/notyet/triggering.md +1 -32
  76. data/tests/unittest/olist.md +1 -15
  77. data/tests/unittest/one.md +1 -8
  78. data/tests/unittest/paragraph.md +1 -8
  79. data/tests/unittest/paragraph_rules/dont_merge_ref.md +1 -10
  80. data/tests/unittest/paragraph_rules/tab_is_blank.md +1 -9
  81. data/tests/unittest/paragraphs.md +1 -14
  82. data/tests/unittest/recover/recover_links.md +1 -6
  83. data/tests/unittest/references/long_example.md +1 -17
  84. data/tests/unittest/references/spaces_and_numbers.md +1 -0
  85. data/tests/unittest/smartypants.md +21 -6
  86. data/tests/unittest/syntax_hl.md +1 -24
  87. data/tests/unittest/table_attributes.md +1 -8
  88. data/tests/unittest/test.md +1 -5
  89. data/tests/unittest/wrapping.md +1 -18
  90. data/tests/unittest/xml.md +1 -15
  91. data/tests/unittest/xml2.md +1 -3
  92. data/tests/unittest/xml3.md +1 -9
  93. data/tests/unittest/xml_instruction.md +1 -10
  94. metadata +211 -215
@@ -9,13 +9,9 @@ Japanese: マルク
9
9
  *** Output of inspect ***
10
10
  md_el(:document,[md_par(["Japanese: \343\203\236\343\203\253\343\202\257"])],{},[])
11
11
  *** Output of to_html ***
12
-
13
12
  <p>Japanese: マルク</p>
14
-
15
13
  *** Output of to_latex ***
16
14
  Japanese: マルク
17
-
18
-
19
15
  *** Output of to_md ***
20
16
  Japanese: マルク
21
17
  *** Output of to_s ***
@@ -34,6 +30,4 @@ Japanese: マルク
34
30
  <p>Japanese: マルク</p>
35
31
 
36
32
  *** Output of Markdown.pl (parsed) ***
37
- <p>Italian: àèìòù.</p
38
- ><p>Japanese: マルク</p
39
- >
33
+ Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
@@ -47,7 +47,6 @@ md_el(:document,[
47
47
  md_par(["It should read just like this: ", md_code("&copy;"), "."])
48
48
  ],{},[])
49
49
  *** Output of to_html ***
50
-
51
50
  <p>Maruku translates HTML entities to the equivalent in LaTeX:</p>
52
51
  <table><thead><tr><th>Entity</th><th>Result</th></tr></thead><tbody><tr><td style='text-align: left;'><code>&amp;copy;</code></td><td style='text-align: left;'>&#169;</td>
53
52
  </tr><tr><td style='text-align: left;'><code>&amp;pound;</code></td><td style='text-align: left;'>&#163;</td>
@@ -62,18 +61,17 @@ md_el(:document,[
62
61
  <pre><code>&amp;copy;</code></pre>
63
62
 
64
63
  <p>It should read just like this: <code>&amp;copy;</code>.</p>
65
-
66
64
  *** Output of to_latex ***
67
65
  Maruku translates HTML entities to the equivalent in \LaTeX\xspace :
68
66
 
69
67
  \begin{tabular}{l|l}
70
68
  Entity&Result\\
71
69
  \hline
72
- \colorbox[rgb]{1.00,0.93,1.00}{\tt \char38copy\char59}&\copyright{}\\
73
- \colorbox[rgb]{1.00,0.93,1.00}{\tt \char38pound\char59}&\pounds{}\\
74
- \colorbox[rgb]{1.00,0.93,1.00}{\tt a\char38nbsp\char59b}&a~{}b\\
75
- \colorbox[rgb]{1.00,0.93,1.00}{\tt \char38lambda\char59}&$\lambda${}\\
76
- \colorbox[rgb]{1.00,0.93,1.00}{\tt \char38mdash\char59}&---{}\\
70
+ {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char38copy\char59}}&\copyright{}\\
71
+ {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char38pound\char59}}&\pounds{}\\
72
+ {\colorbox[rgb]{1.00,0.93,1.00}{\tt a\char38nbsp\char59b}}&a~{}b\\
73
+ {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char38lambda\char59}}&$\lambda${}\\
74
+ {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char38mdash\char59}}&---{}\\
77
75
  \end{tabular}
78
76
 
79
77
  Entity-substitution does not happen in code blocks or inline code.
@@ -81,9 +79,7 @@ Entity-substitution does not happen in code blocks or inline code.
81
79
  The following should not be translated:
82
80
 
83
81
  \begin{verbatim}&copy;\end{verbatim}
84
- It should read just like this: \colorbox[rgb]{1.00,0.93,1.00}{\tt \char38copy\char59}.
85
-
86
-
82
+ It should read just like this: {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char38copy\char59}}.
87
83
  *** Output of to_md ***
88
84
  Maruku translates HTML entities to the
89
85
  equivalent in LaTeX:
@@ -94,18 +90,86 @@ code blocks or inline code.
94
90
  The following should not be translated:
95
91
 
96
92
  It should read just like this: .
97
-
98
-
99
93
  *** Output of to_s ***
100
94
  Maruku translates HTML entities to the equivalent in LaTeX:EntityResultabEntity-substitution does not happen in code blocks or inline code.The following should not be translated:It should read just like this: .
101
95
  *** EOF ***
102
96
 
103
97
 
104
98
 
105
- OK!
106
99
 
100
+ Failed tests: [:to_html]
107
101
 
102
+ *** Output of inspect ***
103
+ md_el(:document,[
104
+ md_par(["Maruku translates HTML entities to the equivalent in LaTeX:"]),
105
+ md_el(:table,[
106
+ md_el(:head_cell,["Entity"],{},[]),
107
+ md_el(:head_cell,["Result"],{},[]),
108
+ md_el(:cell,[md_code("&copy;")],{},[]),
109
+ md_el(:cell,[md_entity("copy")],{},[]),
110
+ md_el(:cell,[md_code("&pound;")],{},[]),
111
+ md_el(:cell,[md_entity("pound")],{},[]),
112
+ md_el(:cell,[md_code("a&nbsp;b")],{},[]),
113
+ md_el(:cell,["a", md_entity("nbsp"), "b"],{},[]),
114
+ md_el(:cell,[md_code("&lambda;")],{},[]),
115
+ md_el(:cell,[md_entity("lambda")],{},[]),
116
+ md_el(:cell,[md_code("&mdash;")],{},[]),
117
+ md_el(:cell,[md_entity("mdash")],{},[])
118
+ ],{:align=>[:left, :left]},[]),
119
+ md_par([
120
+ "Entity-substitution does not happen in code blocks or inline code."
121
+ ]),
122
+ md_par(["The following should not be translated:"]),
123
+ md_el(:code,[],{:raw_code=>"&copy;"},[]),
124
+ md_par(["It should read just like this: ", md_code("&copy;"), "."])
125
+ ],{},[])
126
+ *** Output of to_html ***
127
+ -----| WARNING | -----
128
+ <p>Maruku translates HTML entities to the equivalent in LaTeX:</p>
129
+ <table><thead><tr><th>Entity</th><th>Result</th></tr></thead><tbody><tr><td style='text-align: left;'><code>&amp;amp;copy;</code></td><td style='text-align: left;'>&#169;</td>
130
+ </tr><tr><td style='text-align: left;'><code>&amp;amp;pound;</code></td><td style='text-align: left;'>&#163;</td>
131
+ </tr><tr><td style='text-align: left;'><code>a&amp;amp;nbsp;b</code></td><td style='text-align: left;'>a&#160;b</td>
132
+ </tr><tr><td style='text-align: left;'><code>&amp;amp;lambda;</code></td><td style='text-align: left;'>&#955;</td>
133
+ </tr><tr><td style='text-align: left;'><code>&amp;amp;mdash;</code></td><td style='text-align: left;'>&#8212;</td>
134
+ </tr></tbody></table>
135
+ <p>Entity-substitution does not happen in code blocks or inline code.</p>
136
+
137
+ <p>The following should not be translated:</p>
138
+
139
+ <pre><code>&amp;amp;copy;</code></pre>
140
+
141
+ <p>It should read just like this: <code>&amp;amp;copy;</code>.</p>
142
+ *** Output of to_latex ***
143
+ Maruku translates HTML entities to the equivalent in \LaTeX\xspace :
108
144
 
145
+ \begin{tabular}{l|l}
146
+ Entity&Result\\
147
+ \hline
148
+ {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char38copy\char59}}&\copyright{}\\
149
+ {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char38pound\char59}}&\pounds{}\\
150
+ {\colorbox[rgb]{1.00,0.93,1.00}{\tt a\char38nbsp\char59b}}&a~{}b\\
151
+ {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char38lambda\char59}}&$\lambda${}\\
152
+ {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char38mdash\char59}}&---{}\\
153
+ \end{tabular}
154
+
155
+ Entity-substitution does not happen in code blocks or inline code.
156
+
157
+ The following should not be translated:
158
+
159
+ \begin{verbatim}&copy;\end{verbatim}
160
+ It should read just like this: {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char38copy\char59}}.
161
+ *** Output of to_md ***
162
+ Maruku translates HTML entities to the
163
+ equivalent in LaTeX:
164
+
165
+ EntityResultabEntity-substitution does not happen in
166
+ code blocks or inline code.
167
+
168
+ The following should not be translated:
169
+
170
+ It should read just like this: .
171
+ *** Output of to_s ***
172
+ Maruku translates HTML entities to the equivalent in LaTeX:EntityResultabEntity-substitution does not happen in code blocks or inline code.The following should not be translated:It should read just like this: .
109
173
  *** Output of Markdown.pl ***
110
174
  <p>Maruku translates HTML entities to the equivalent in LaTeX:</p>
111
175
 
@@ -127,25 +191,4 @@ Maruku translates HTML entities to the equivalent in LaTeX:EntityResultabEntity-
127
191
  <p>It should read just like this: <code>&amp;copy;</code>.</p>
128
192
 
129
193
  *** Output of Markdown.pl (parsed) ***
130
- <p>Maruku translates HTML entities to the equivalent in LaTeX:</p
131
- ><p>Entity | Result
132
- ------------|----------
133
- <code>&amp;copy;</code
134
- > | &copy;
135
- <code>&amp;pound;</code
136
- > | &pound;
137
- <code>a&amp;nbsp;b</code
138
- > | a&nbsp;b
139
- <code>&amp;lambda;</code
140
- > | &lambda;
141
- <code>&amp;mdash;</code
142
- > | &mdash;</p
143
- ><p>Entity-substitution does not happen in code blocks or inline code.</p
144
- ><p>The following should not be translated:</p
145
- ><pre
146
- ><code>&amp;copy;
147
- </code
148
- ></pre
149
- ><p>It should read just like this: <code>&amp;copy;</code
150
- >.</p
151
- >
194
+ Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
@@ -32,7 +32,6 @@ md_el(:document,[
32
32
  md_par(["End of ", md_code("paragraph ")])
33
33
  ],{},[])
34
34
  *** Output of to_html ***
35
-
36
35
  <p>Hello: ! ! ` { } [ ] ( ) # . ! * * *</p>
37
36
 
38
37
  <p>Ora, <em>emphasis</em>, <strong>bold</strong>, * &lt;- due asterischi-&gt; * , un underscore-&gt; _ , <em>emphasis</em>, incre<em>dible</em>e!</p>
@@ -42,19 +41,16 @@ md_el(:document,[
42
41
  <p><code>Start </code> of paragraph</p>
43
42
 
44
43
  <p>End of <code>paragraph </code></p>
45
-
46
44
  *** Output of to_latex ***
47
45
  Hello: ! ! ` \{ \} [ ] ( ) \# . ! * * *
48
46
 
49
47
  Ora, \emph{emphasis}, \textbf{bold}, * {\tt \char60}- due asterischi-{\tt \char62} * , un underscore-{\tt \char62} \_ , \emph{emphasis}, incre\emph{dible}e!
50
48
 
51
- This is \colorbox[rgb]{1.00,0.93,1.00}{\tt Code~with~a~special\char58~\char45\char62~\char96~\char60\char45}(after)
52
-
53
- \colorbox[rgb]{1.00,0.93,1.00}{\tt Start~} of paragraph
54
-
55
- End of \colorbox[rgb]{1.00,0.93,1.00}{\tt paragraph~}
49
+ This is {\colorbox[rgb]{1.00,0.93,1.00}{\tt Code~with~a~special\char58~\char45\char62~\char96~\char60\char45}}(after)
56
50
 
51
+ {\colorbox[rgb]{1.00,0.93,1.00}{\tt Start~}} of paragraph
57
52
 
53
+ End of {\colorbox[rgb]{1.00,0.93,1.00}{\tt paragraph~}}
58
54
  *** Output of to_md ***
59
55
  Hello: ! ! ` { } [ ] ( ) # . ! * * *
60
56
 
@@ -67,10 +63,8 @@ This is (after)
67
63
  of paragraph
68
64
 
69
65
  End of
70
-
71
-
72
66
  *** Output of to_s ***
73
- Hello: ! ! ` { } [ ] ( ) # . ! * * *Ora, emphasis, bold, * <- due asterischi-> * , un underscore-> _ , emphasis, incrediblee!This is (after) of paragraphEnd of
67
+ Hello: ! ! ` { } [ ] ( ) # . ! * * *Ora, emphasis, bold, * <- due asterischi-> * , un underscore-> _ , emphasis, incrediblee!This is (after) of paragraphEnd of
74
68
  *** EOF ***
75
69
 
76
70
 
@@ -92,18 +86,4 @@ Hello: ! ! ` { } [ ] ( ) # . ! * * *Ora, emphasis, bold, * <- due asterischi-> *
92
86
  <p>End of <code>paragraph</code></p>
93
87
 
94
88
  *** Output of Markdown.pl (parsed) ***
95
- <p>Hello: ! ! ` { } [ ] ( ) # . ! * * *</p
96
- ><p>Ora, <em>emphasis</em
97
- >, <strong>bold</strong
98
- >, * &lt;- due asterischi-> * , un underscore-> _ , <em>emphasis</em
99
- >,
100
- incre<em>dible</em
101
- >e!</p
102
- ><p>This is <code>Code with a special: -&gt; ` &lt;-</code
103
- >(after)</p
104
- ><p
105
- ><code>Start</code
106
- > of paragraph</p
107
- ><p>End of <code>paragraph</code
108
- ></p
109
- >
89
+ Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
@@ -30,7 +30,6 @@ md_el(:document,[
30
30
  ],{},[])
31
31
  ],{},[])
32
32
  *** Output of to_html ***
33
-
34
33
  <dl>
35
34
  <dt>Apple</dt>
36
35
 
@@ -40,7 +39,6 @@ md_el(:document,[
40
39
 
41
40
  <dd>The fruit of an evergreen tree of the genus Citrus.</dd>
42
41
  </dl>
43
-
44
42
  *** Output of to_latex ***
45
43
  \begin{description}
46
44
 
@@ -48,7 +46,6 @@ md_el(:document,[
48
46
 
49
47
  \item[Orange] The fruit of an evergreen tree of the genus Citrus.
50
48
  \end{description}
51
-
52
49
  *** Output of to_md ***
53
50
  ApplePomaceous fruit of plants of the genus Malus in the family Rosaceae.OrangeThe fruit of an evergreen tree of the genus Citrus.
54
51
  *** Output of to_s ***
@@ -72,10 +69,4 @@ ApplePomaceous fruit of plants of the genus Malus in the family Rosaceae.OrangeT
72
69
  : The fruit of an evergreen tree of the genus Citrus.</p>
73
70
 
74
71
  *** Output of Markdown.pl (parsed) ***
75
- <p>CSS: style.css</p
76
- ><p>Apple
77
- : Pomaceous fruit of plants of the genus Malus in
78
- the family Rosaceae.</p
79
- ><p>Orange
80
- : The fruit of an evergreen tree of the genus Citrus.</p
81
- >
72
+ Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
@@ -33,7 +33,6 @@ md_el(:document,[
33
33
  ])
34
34
  ],{},[])
35
35
  *** Output of to_html ***
36
-
37
36
  <h1 id='header1'>Header 1</h1>
38
37
 
39
38
  <h2 id='header2'>Header 2</h2>
@@ -43,7 +42,6 @@ md_el(:document,[
43
42
  <p>Then you can create links to different parts of the same document like this:</p>
44
43
 
45
44
  <p><a href='#header1'>Link back to header 1</a>, <a href='#header2'>Link back to header 2</a>, <a href='#header3'>Link back to header 3</a></p>
46
-
47
45
  *** Output of to_latex ***
48
46
  \hypertarget{header1}{}\section*{{Header 1}}\label{header1}
49
47
 
@@ -54,8 +52,6 @@ md_el(:document,[
54
52
  Then you can create links to different parts of the same document like this:
55
53
 
56
54
  \hyperlink{header1}{Link back to header 1}, \hyperlink{header2}{Link back to header 2}, \hyperlink{header3}{Link back to header 3}
57
-
58
-
59
55
  *** Output of to_md ***
60
56
  Header 1Header 2Header 3Then you can create links to different
61
57
  parts of the same document like this:
@@ -63,8 +59,6 @@ parts of the same document like this:
63
59
  Link back to header 1,
64
60
  Link back to header 2,
65
61
  Link back to header 3
66
-
67
-
68
62
  *** Output of to_s ***
69
63
  Header 1Header 2Header 3Then you can create links to different parts of the same document like this:Link back to header 1, Link back to header 2, Link back to header 3
70
64
  *** EOF ***
@@ -89,15 +83,4 @@ Header 1Header 2Header 3Then you can create links to different parts of the same
89
83
  <a href="#header3">Link back to header 3</a></p>
90
84
 
91
85
  *** Output of Markdown.pl (parsed) ***
92
- <h1>Header 1 {#header1}</h1
93
- ><h2>Header 2 {#header2}</h2
94
- ><h3>Header 3 ### {#header3}</h3
95
- ><p>Then you can create links to different parts of the same document like this:</p
96
- ><p
97
- ><a href='#header1'>Link back to header 1</a
98
- >,
99
- <a href='#header2'>Link back to header 2</a
100
- >,
101
- <a href='#header3'>Link back to header 3</a
102
- ></p
103
- >
86
+ Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
@@ -31,8 +31,6 @@ First Header&Second Header\\
31
31
  Content Cell&Content Cell\\
32
32
  Content Cell&Content Cell\\
33
33
  \end{tabular}
34
-
35
-
36
34
  *** Output of to_md ***
37
35
  First HeaderSecond HeaderContent CellContent CellContent CellContent Cell
38
36
  *** Output of to_s ***
@@ -54,9 +52,4 @@ Content Cell | Content Cell
54
52
  Content Cell | Content Cell</p>
55
53
 
56
54
  *** Output of Markdown.pl (parsed) ***
57
- <p>CSS: style.css</p
58
- ><p>First Header | Second Header
59
- ------------- | -------------
60
- Content Cell | Content Cell
61
- Content Cell | Content Cell</p
62
- >
55
+ Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
@@ -54,7 +54,6 @@ md_el(:document,[
54
54
  md_par(["This is not a footnote."])
55
55
  ],{},[])
56
56
  *** Output of to_html ***
57
-
58
57
  <p>That&#8217;s some text with a footnote <sup id='fnref:1'><a href='#fn:1' rel='footnote'>1</a></sup> and another <sup id='fnref:2'><a href='#fn:2' rel='footnote'>2</a></sup> and another <sup id='fnref:3'><a href='#fn:3' rel='footnote'>3</a></sup>.</p>
59
58
 
60
59
  <p>This is not a footnote.</p>
@@ -77,8 +76,6 @@ That'{}s the second paragraph.} and another \footnote{And that'{}s the footnote
77
76
  That'{}s the second paragraph of the footnote.} .
78
77
 
79
78
  This is not a footnote.
80
-
81
-
82
79
  *** Output of to_md ***
83
80
  That s some text with a footnote and
84
81
  another and another .
@@ -96,8 +93,6 @@ This is the very long one.
96
93
  That s the second paragraph.
97
94
 
98
95
  This is not a footnote.
99
-
100
-
101
96
  *** Output of to_s ***
102
97
  Thats some text with a footnote and another and another .And thats the footnote.Thats the second paragraph of the footnote.And thats the footnote. This is second sentence (same paragraph).This is the very long one.Thats the second paragraph.This is not a footnote.
103
98
  *** EOF ***
@@ -128,19 +123,4 @@ This is second sentence (same paragraph).</p>
128
123
  <p>This is not a footnote.</p>
129
124
 
130
125
  *** Output of Markdown.pl (parsed) ***
131
- <p>That's some text with a footnote [^b] and another [^c] and another [^a].</p
132
- ><p>[^a]: And that's the footnote.</p
133
- ><pre
134
- ><code>That's the second paragraph of the footnote.
135
- </code
136
- ></pre
137
- ><p>[^b]: And that's the footnote.
138
- This is second sentence (same paragraph).</p
139
- ><p>[^c]:
140
- This is the very long one.</p
141
- ><pre
142
- ><code>That's the second paragraph.
143
- </code
144
- ></pre
145
- ><p>This is not a footnote.</p
146
- >
126
+ Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
@@ -20,21 +20,17 @@ md_el(:document,[
20
20
  md_el(:header,["A title with ", md_em(["emphasis"])],{:level=>4},[])
21
21
  ],{},[])
22
22
  *** Output of to_html ***
23
-
24
23
  <h1 id='a_title_with_emphasis'>A title with <em>emphasis</em></h1>
25
24
 
26
25
  <h2 id='a_title_with_emphasis'>A title with <em>emphasis</em></h2>
27
26
 
28
27
  <h4 id='a_title_with_emphasis'>A title with <em>emphasis</em></h4>
29
-
30
28
  *** Output of to_latex ***
31
29
  \hypertarget{a_title_with_emphasis}{}\section*{{A title with \emph{emphasis}}}\label{a_title_with_emphasis}
32
30
 
33
31
  \hypertarget{a_title_with_emphasis}{}\subsection*{{A title with \emph{emphasis}}}\label{a_title_with_emphasis}
34
32
 
35
33
  \hypertarget{a_title_with_emphasis}{}\paragraph*{{A title with \emph{emphasis}}}\label{a_title_with_emphasis}
36
-
37
-
38
34
  *** Output of to_md ***
39
35
  A title with emphasisA title with emphasisA title with emphasis
40
36
  *** Output of to_s ***
@@ -55,10 +51,4 @@ A title with emphasisA title with emphasisA title with emphasis
55
51
  <h4>A title with <em>emphasis</em></h4>
56
52
 
57
53
  *** Output of Markdown.pl (parsed) ***
58
- <h1>A title with <em>emphasis</em
59
- ></h1
60
- ><h2>A title with <em>emphasis</em
61
- ></h2
62
- ><h4>A title with <em>emphasis</em
63
- ></h4
64
- >
54
+ Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
@@ -24,21 +24,15 @@ md_el(:document,[
24
24
  ])
25
25
  ],{},[])
26
26
  *** Output of to_html ***
27
-
28
27
  <p>Examples of numeric character references include &#169; or &#169; for the copyright symbol, &#913; or &#913; for the Greek capital letter alpha, and &#1575; or &#1575; for the Arabic letter alef.</p>
29
-
30
28
  *** Output of to_latex ***
31
29
  Examples of numeric character references include \copyright{} or \copyright{} for the copyright symbol, $A${} or $A${} for the Greek capital letter alpha, and or for the Arabic letter alef.
32
-
33
-
34
30
  *** Output of to_md ***
35
31
  Examples of numeric character
36
32
  references include or for the copyright
37
33
  symbol, or for the Greek capital letter
38
34
  alpha, and or for the Arabic letter
39
35
  alef.
40
-
41
-
42
36
  *** Output of to_s ***
43
37
  Examples of numeric character references include or for the copyright symbol, or for the Greek capital letter alpha, and or for the Arabic letter alef.
44
38
  *** EOF ***
@@ -53,5 +47,4 @@ Examples of numeric character references include or for the copyright symbol,
53
47
  <p>Examples of numeric character references include &#169; or &#xA9; for the copyright symbol, &#913; or &#x391; for the Greek capital letter alpha, and &#1575; or &#x627; for the Arabic letter alef.</p>
54
48
 
55
49
  *** Output of Markdown.pl (parsed) ***
56
- <p>Examples of numeric character references include &#169; or &#xA9; for the copyright symbol, &#913; or &#x391; for the Greek capital letter alpha, and &#1575; or &#x627; for the Arabic letter alef.</p
57
- >
50
+ Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>