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
@@ -33,6 +33,4 @@ md_el(:document,[
|
|
33
33
|
<p markdown="1">Test **bold**</p>
|
34
34
|
|
35
35
|
*** Output of Markdown.pl (parsed) ***
|
36
|
-
<div
|
37
|
-
><p markdown='1'>Test **bold**</p
|
38
|
-
>
|
36
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
data/tests/unittest/links.md
CHANGED
@@ -75,7 +75,6 @@ md_el(:document,[
|
|
75
75
|
md_ref_def("google_images", "http://images.google.com", {:title=>"Google images"})
|
76
76
|
],{},[])
|
77
77
|
*** Output of to_html ***
|
78
|
-
|
79
78
|
<p>Search on <a href='http://www.google.com'>Google</a></p>
|
80
79
|
|
81
80
|
<p>Search on <a href='http://www.google.com'>Google</a></p>
|
@@ -95,7 +94,6 @@ md_el(:document,[
|
|
95
94
|
<p>Search on <a href='http://www.gogole.com'>http://www.gogole.com</a> or <a href='http://Here.com'>http://Here.com</a> or ask <a href='mailto:bill@google.com'>bill@google.com</a> or you might ask bill@google.com.</p>
|
96
95
|
|
97
96
|
<p>If all else fails, ask <a href='http://www.google.com'>Google</a></p>
|
98
|
-
|
99
97
|
*** Output of to_latex ***
|
100
98
|
Search on \href{http://www.google.com}{Google}
|
101
99
|
|
@@ -116,8 +114,6 @@ Inline with title: \href{http://google.com}{Google images}
|
|
116
114
|
Search on \href{http://www.gogole.com}{http\char58\char47\char47www\char46gogole\char46com} or \href{http://Here.com}{http\char58\char47\char47Here\char46com} or ask \href{mailto:bill@google.com}{bill\char64google\char46com} or you might ask bill@google.com.
|
117
115
|
|
118
116
|
If all else fails, ask \href{http://www.google.com}{Google}
|
119
|
-
|
120
|
-
|
121
117
|
*** Output of to_md ***
|
122
118
|
Search on Google
|
123
119
|
|
@@ -139,8 +135,6 @@ Search on or or ask or you might ask
|
|
139
135
|
bill@google.com.
|
140
136
|
|
141
137
|
If all else fails, ask Google
|
142
|
-
|
143
|
-
|
144
138
|
*** Output of to_s ***
|
145
139
|
Search on GoogleSearch on GoogleSearch on GoogleSearch on GoogleSearch on Google imagesInline: Google imagesInline with title: Google imagesInline with title: Google imagesSearch on or or ask or you might ask bill@google.com.If all else fails, ask Google
|
146
140
|
*** EOF ***
|
@@ -168,7 +162,7 @@ Search on GoogleSearch on GoogleSearch on GoogleSearch on GoogleSearch on Google
|
|
168
162
|
|
169
163
|
<p>Inline with title: <a href="http://google.com "Title"">Google images</a></p>
|
170
164
|
|
171
|
-
<p>Search on <a href="http://www.gogole.com">http://www.gogole.com</a> or <a href="http://Here.com">http://Here.com</a> or ask <a href="m
|
165
|
+
<p>Search on <a href="http://www.gogole.com">http://www.gogole.com</a> or <a href="http://Here.com">http://Here.com</a> or ask <a href="mailto:bill@google.com">bill@google.com</a>
|
172
166
|
or you might ask bill@google.com.</p>
|
173
167
|
|
174
168
|
<p>If all else fails, ask <a href="http://www.google.com">Google</a></p>
|
@@ -176,7 +170,27 @@ or you might ask bill@google.com.</p>
|
|
176
170
|
<p>[google2]: http://www.google.com 'Single quotes'</p>
|
177
171
|
|
178
172
|
*** Output of Markdown.pl (parsed) ***
|
179
|
-
Error: #<REXML::ParseException: Missing end tag for 'p' (got "div")
|
173
|
+
Error: #<REXML::ParseException: #<REXML::ParseException: Missing end tag for 'p' (got "div")
|
174
|
+
Line:
|
175
|
+
Position:
|
176
|
+
Last 80 unconsumed characters:
|
177
|
+
>
|
178
|
+
/Volumes/Alter/Ruby/local186/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
179
|
+
/Volumes/Alter/Ruby/local186/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
180
|
+
/Volumes/Alter/Ruby/local186/lib/ruby/1.8/rexml/document.rb:190:in `build'
|
181
|
+
/Volumes/Alter/Ruby/local186/lib/ruby/1.8/rexml/document.rb:45:in `initialize'
|
182
|
+
bin/marutest:199:in `new'
|
183
|
+
bin/marutest:199:in `run_test'
|
184
|
+
bin/marutest:262:in `marutest'
|
185
|
+
bin/marutest:259:in `each'
|
186
|
+
bin/marutest:259:in `marutest'
|
187
|
+
bin/marutest:334
|
188
|
+
...
|
189
|
+
Missing end tag for 'p' (got "div")
|
190
|
+
Line:
|
191
|
+
Position:
|
192
|
+
Last 80 unconsumed characters:
|
193
|
+
|
180
194
|
Line:
|
181
195
|
Position:
|
182
196
|
Last 80 unconsumed characters:
|
data/tests/unittest/links2.md
CHANGED
@@ -13,17 +13,11 @@ md_el(:document,[
|
|
13
13
|
md_ref_def("foo_bar", "http://agorf.gr/", {:title=>nil})
|
14
14
|
],{},[])
|
15
15
|
*** Output of to_html ***
|
16
|
-
|
17
16
|
<p>See <a href='http://agorf.gr/'>foo’ bar</a></p>
|
18
|
-
|
19
17
|
*** Output of to_latex ***
|
20
18
|
See \href{http://agorf.gr/}{foo'{} bar}
|
21
|
-
|
22
|
-
|
23
19
|
*** Output of to_md ***
|
24
20
|
See foo bar
|
25
|
-
|
26
|
-
|
27
21
|
*** Output of to_s ***
|
28
22
|
See foo bar
|
29
23
|
*** EOF ***
|
@@ -38,5 +32,4 @@ See foo bar
|
|
38
32
|
<p>See [foo' bar]</p>
|
39
33
|
|
40
34
|
*** Output of Markdown.pl (parsed) ***
|
41
|
-
<
|
42
|
-
>
|
35
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
data/tests/unittest/list1.md
CHANGED
@@ -17,7 +17,6 @@ md_el(:document,[
|
|
17
17
|
],{},[])
|
18
18
|
],{},[])
|
19
19
|
*** Output of to_html ***
|
20
|
-
|
21
20
|
<ul>
|
22
21
|
<li>
|
23
22
|
<p>A list item with a blockquote:</p>
|
@@ -27,7 +26,6 @@ md_el(:document,[
|
|
27
26
|
</blockquote>
|
28
27
|
</li>
|
29
28
|
</ul>
|
30
|
-
|
31
29
|
*** Output of to_latex ***
|
32
30
|
\begin{itemize}%
|
33
31
|
\item A list item with a blockquote:
|
@@ -40,13 +38,10 @@ This is a blockquote inside a list item.
|
|
40
38
|
|
41
39
|
|
42
40
|
\end{itemize}
|
43
|
-
|
44
41
|
*** Output of to_md ***
|
45
42
|
- list item with a blockquote:
|
46
43
|
This is a blockquote inside a list
|
47
44
|
item.
|
48
|
-
|
49
|
-
|
50
45
|
*** Output of to_s ***
|
51
46
|
A list item with a blockquote:This is a blockquote inside a list item.
|
52
47
|
*** EOF ***
|
@@ -68,17 +63,4 @@ A list item with a blockquote:This is a blockquote inside a list item.
|
|
68
63
|
</ul>
|
69
64
|
|
70
65
|
*** Output of Markdown.pl (parsed) ***
|
71
|
-
<
|
72
|
-
<li
|
73
|
-
><p>A list item with a blockquote:</p
|
74
|
-
>
|
75
|
-
|
76
|
-
<blockquote>
|
77
|
-
<p>This is a blockquote
|
78
|
-
inside a list item.</p
|
79
|
-
>
|
80
|
-
</blockquote
|
81
|
-
></li
|
82
|
-
>
|
83
|
-
</ul
|
84
|
-
>
|
66
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
@@ -0,0 +1,43 @@
|
|
1
|
+
Write a comment here
|
2
|
+
*** Parameters: ***
|
3
|
+
{} # params
|
4
|
+
*** Markdown input: ***
|
5
|
+
* [Maruku]: good.
|
6
|
+
|
7
|
+
[maruku]: http://maruku.org/
|
8
|
+
|
9
|
+
*** Output of inspect ***
|
10
|
+
md_el(:document,[
|
11
|
+
md_el(:ul,[
|
12
|
+
md_el(:li_span,[md_link(["Maruku"],"maruku"), ": good."],{:want_my_paragraph=>false},[])
|
13
|
+
],{},[]),
|
14
|
+
md_ref_def("maruku", "http://maruku.org/", {:title=>nil})
|
15
|
+
],{},[])
|
16
|
+
*** Output of to_html ***
|
17
|
+
<ul>
|
18
|
+
<li><a href='http://maruku.org/'>Maruku</a>: good.</li>
|
19
|
+
</ul>
|
20
|
+
*** Output of to_latex ***
|
21
|
+
\begin{itemize}%
|
22
|
+
\item \href{http://maruku.org/}{Maruku}: good.
|
23
|
+
|
24
|
+
\end{itemize}
|
25
|
+
*** Output of to_md ***
|
26
|
+
-aruku: good.
|
27
|
+
*** Output of to_s ***
|
28
|
+
Maruku: good.
|
29
|
+
*** EOF ***
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
OK!
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
*** Output of Markdown.pl ***
|
38
|
+
<ul>
|
39
|
+
<li>[Maruku]: good.</li>
|
40
|
+
</ul>
|
41
|
+
|
42
|
+
*** Output of Markdown.pl (parsed) ***
|
43
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
data/tests/unittest/list2.md
CHANGED
@@ -25,7 +25,6 @@ md_el(:document,[
|
|
25
25
|
],{},[])
|
26
26
|
],{},[])
|
27
27
|
*** Output of to_html ***
|
28
|
-
|
29
28
|
<ul>
|
30
29
|
<li>
|
31
30
|
<p>This is a list item with two paragraphs.</p>
|
@@ -37,7 +36,6 @@ md_el(:document,[
|
|
37
36
|
<p>other</p>
|
38
37
|
</li>
|
39
38
|
</ul>
|
40
|
-
|
41
39
|
*** Output of to_latex ***
|
42
40
|
\begin{itemize}%
|
43
41
|
\item This is a list item with two paragraphs.
|
@@ -50,13 +48,10 @@ This is the second paragraph in the list item. You'{}re only required to indent
|
|
50
48
|
|
51
49
|
|
52
50
|
\end{itemize}
|
53
|
-
|
54
51
|
*** Output of to_md ***
|
55
52
|
-This is a list item with two paragraphs.
|
56
53
|
This is the second paragraph in the list item. Youre only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
57
54
|
-ther
|
58
|
-
|
59
|
-
|
60
55
|
*** Output of to_s ***
|
61
56
|
This is a list item with two paragraphs.This is the second paragraph in the list item. Youre only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.other
|
62
57
|
*** EOF ***
|
@@ -78,19 +73,4 @@ sit amet, consectetuer adipiscing elit.</p></li>
|
|
78
73
|
</ul>
|
79
74
|
|
80
75
|
*** Output of Markdown.pl (parsed) ***
|
81
|
-
<
|
82
|
-
<li
|
83
|
-
><p>This is a list item with two paragraphs.</p
|
84
|
-
>
|
85
|
-
|
86
|
-
<p>This is the second paragraph in the list item. You're
|
87
|
-
only required to indent the first line. Lorem ipsum dolor
|
88
|
-
sit amet, consectetuer adipiscing elit.</p
|
89
|
-
></li
|
90
|
-
>
|
91
|
-
<li
|
92
|
-
><p>other</p
|
93
|
-
></li
|
94
|
-
>
|
95
|
-
</ul
|
96
|
-
>
|
76
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
data/tests/unittest/list3.md
CHANGED
@@ -24,7 +24,6 @@ md_el(:document,[
|
|
24
24
|
],{},[])
|
25
25
|
],{},[])
|
26
26
|
*** Output of to_html ***
|
27
|
-
|
28
27
|
<ul>
|
29
28
|
<li>
|
30
29
|
<p>A list item with a blockquote:</p>
|
@@ -40,7 +39,6 @@ md_el(:document,[
|
|
40
39
|
<pre><code><code goes here></code></pre>
|
41
40
|
</li>
|
42
41
|
</ul>
|
43
|
-
|
44
42
|
*** Output of to_latex ***
|
45
43
|
\begin{itemize}%
|
46
44
|
\item A list item with a blockquote:
|
@@ -57,14 +55,11 @@ This is a blockquote inside a list item.
|
|
57
55
|
|
58
56
|
|
59
57
|
\end{itemize}
|
60
|
-
|
61
58
|
*** Output of to_md ***
|
62
59
|
- list item with a blockquote:
|
63
60
|
This is a blockquote inside a list
|
64
61
|
item.
|
65
62
|
- list item with a code block:
|
66
|
-
|
67
|
-
|
68
63
|
*** Output of to_s ***
|
69
64
|
A list item with a blockquote:This is a blockquote inside a list item.A list item with a code block:
|
70
65
|
*** EOF ***
|
@@ -90,27 +85,4 @@ A list item with a blockquote:This is a blockquote inside a list item.A list ite
|
|
90
85
|
</ul>
|
91
86
|
|
92
87
|
*** Output of Markdown.pl (parsed) ***
|
93
|
-
<
|
94
|
-
<li
|
95
|
-
><p>A list item with a blockquote:</p
|
96
|
-
>
|
97
|
-
|
98
|
-
<blockquote>
|
99
|
-
<p>This is a blockquote
|
100
|
-
inside a list item.</p
|
101
|
-
>
|
102
|
-
</blockquote
|
103
|
-
></li
|
104
|
-
>
|
105
|
-
<li
|
106
|
-
><p>A list item with a code block:</p
|
107
|
-
>
|
108
|
-
|
109
|
-
<pre
|
110
|
-
><code><code goes here>
|
111
|
-
</code
|
112
|
-
></pre
|
113
|
-
></li
|
114
|
-
>
|
115
|
-
</ul
|
116
|
-
>
|
88
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
data/tests/unittest/list4.md
CHANGED
@@ -34,7 +34,6 @@ md_el(:document,[
|
|
34
34
|
md_par(["This is not a list: 1987. one ciao"])
|
35
35
|
],{},[])
|
36
36
|
*** Output of to_html ***
|
37
|
-
|
38
37
|
<p>This is a list:</p>
|
39
38
|
|
40
39
|
<ul>
|
@@ -54,7 +53,6 @@ md_el(:document,[
|
|
54
53
|
</ol>
|
55
54
|
|
56
55
|
<p>This is not a list: 1987. one ciao</p>
|
57
|
-
|
58
56
|
*** Output of to_latex ***
|
59
57
|
This is a list:
|
60
58
|
|
@@ -73,8 +71,6 @@ This is a list:
|
|
73
71
|
|
74
72
|
\end{enumerate}
|
75
73
|
This is not a list: 1987. one ciao
|
76
|
-
|
77
|
-
|
78
74
|
*** Output of to_md ***
|
79
75
|
This is a list:
|
80
76
|
|
@@ -89,8 +85,6 @@ This is a list:
|
|
89
85
|
2. two
|
90
86
|
|
91
87
|
This is not a list: 1987. one ciao
|
92
|
-
|
93
|
-
|
94
88
|
*** Output of to_s ***
|
95
89
|
This is a list:onetwoThis is not a list: * one ciaoThis is a list:onetwoThis is not a list: 1987. one ciao
|
96
90
|
*** EOF ***
|
@@ -119,16 +113,4 @@ ciao</p>
|
|
119
113
|
ciao</p>
|
120
114
|
|
121
115
|
*** Output of Markdown.pl (parsed) ***
|
122
|
-
<
|
123
|
-
* one
|
124
|
-
* two</p
|
125
|
-
><p>This is not a list:
|
126
|
-
* one
|
127
|
-
ciao</p
|
128
|
-
><p>This is a list:
|
129
|
-
1. one
|
130
|
-
1. two</p
|
131
|
-
><p>This is not a list:
|
132
|
-
1987. one
|
133
|
-
ciao</p
|
134
|
-
>
|
116
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
data/tests/unittest/lists.md
CHANGED
@@ -79,7 +79,6 @@ md_el(:document,[
|
|
79
79
|
],{},[])
|
80
80
|
],{},[])
|
81
81
|
*** Output of to_html ***
|
82
|
-
|
83
82
|
<ul>
|
84
83
|
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.</li>
|
85
84
|
|
@@ -119,7 +118,6 @@ md_el(:document,[
|
|
119
118
|
<p>Another item in the same list.</p>
|
120
119
|
</li>
|
121
120
|
</ul>
|
122
|
-
|
123
121
|
*** Output of to_latex ***
|
124
122
|
\begin{itemize}%
|
125
123
|
\item Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
|
@@ -155,7 +153,6 @@ This is the second paragraph in the list item. You'{}re only required to indent
|
|
155
153
|
|
156
154
|
|
157
155
|
\end{itemize}
|
158
|
-
|
159
156
|
*** Output of to_md ***
|
160
157
|
-orem ipsum dolor sit amet,
|
161
158
|
consectetuer adipiscing elit.
|
@@ -191,8 +188,6 @@ Ancora
|
|
191
188
|
-This is a list item with two paragraphs.
|
192
189
|
This is the second paragraph in the list item. Youre only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
193
190
|
-nother item in the same list.
|
194
|
-
|
195
|
-
|
196
191
|
*** Output of to_s ***
|
197
192
|
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing.AncoraThis is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.ATTENZIONE!Suspendisse id sem consectetuer libero luctus adipiscing.AncoraThis is a list item with two paragraphs.This is the second paragraph in the list item. Youre only required to indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.Another item in the same list.
|
198
193
|
*** EOF ***
|
@@ -243,57 +238,4 @@ sit amet, consectetuer adipiscing elit.</p></li>
|
|
243
238
|
</ul>
|
244
239
|
|
245
240
|
*** Output of Markdown.pl (parsed) ***
|
246
|
-
<
|
247
|
-
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
248
|
-
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
|
249
|
-
viverra nec, fringilla in, laoreet vitae, risus.</li
|
250
|
-
>
|
251
|
-
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
252
|
-
Suspendisse id sem consectetuer libero luctus adipiscing.</li
|
253
|
-
>
|
254
|
-
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
255
|
-
Suspendisse id sem consectetuer libero luctus adipiscing.
|
256
|
-
<ul>
|
257
|
-
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
258
|
-
Suspendisse id sem consectetuer libero luctus adipiscing.</li
|
259
|
-
>
|
260
|
-
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
261
|
-
Suspendisse id sem consectetuer libero luctus adipiscing.</li
|
262
|
-
>
|
263
|
-
</ul
|
264
|
-
></li
|
265
|
-
>
|
266
|
-
</ul
|
267
|
-
><p>Ancora</p
|
268
|
-
><ul>
|
269
|
-
<li
|
270
|
-
><p>This is a list item with two paragraphs. Lorem ipsum dolor
|
271
|
-
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
272
|
-
mi posuere lectus.</p
|
273
|
-
>
|
274
|
-
|
275
|
-
<p>ATTENZIONE!</p
|
276
|
-
></li
|
277
|
-
>
|
278
|
-
<li
|
279
|
-
><p>Suspendisse id sem consectetuer libero luctus adipiscing.</p
|
280
|
-
></li
|
281
|
-
>
|
282
|
-
</ul
|
283
|
-
><p>Ancora</p
|
284
|
-
><ul>
|
285
|
-
<li
|
286
|
-
><p>This is a list item with two paragraphs.</p
|
287
|
-
>
|
288
|
-
|
289
|
-
<p>This is the second paragraph in the list item. You're
|
290
|
-
only required to indent the first line. Lorem ipsum dolor
|
291
|
-
sit amet, consectetuer adipiscing elit.</p
|
292
|
-
></li
|
293
|
-
>
|
294
|
-
<li
|
295
|
-
><p>Another item in the same list.</p
|
296
|
-
></li
|
297
|
-
>
|
298
|
-
</ul
|
299
|
-
>
|
241
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
data/tests/unittest/lists10.md
CHANGED
@@ -14,27 +14,22 @@ md_el(:document,[
|
|
14
14
|
],{},[])
|
15
15
|
],{},[])
|
16
16
|
*** Output of to_html ***
|
17
|
-
|
18
17
|
<p>List:</p>
|
19
18
|
|
20
19
|
<ul>
|
21
20
|
<li>è<code>gcc</code></li>
|
22
21
|
</ul>
|
23
|
-
|
24
22
|
*** Output of to_latex ***
|
25
23
|
List:
|
26
24
|
|
27
25
|
\begin{itemize}%
|
28
|
-
\item
|
26
|
+
\item è{\colorbox[rgb]{1.00,0.93,1.00}{\tt gcc}}
|
29
27
|
|
30
28
|
\end{itemize}
|
31
|
-
|
32
29
|
*** Output of to_md ***
|
33
30
|
List:
|
34
31
|
|
35
32
|
-�
|
36
|
-
|
37
|
-
|
38
33
|
*** Output of to_s ***
|
39
34
|
List:è
|
40
35
|
*** EOF ***
|
@@ -53,10 +48,4 @@ List:è
|
|
53
48
|
</ul>
|
54
49
|
|
55
50
|
*** Output of Markdown.pl (parsed) ***
|
56
|
-
<
|
57
|
-
><ul>
|
58
|
-
<li>è<code>gcc</code
|
59
|
-
></li
|
60
|
-
>
|
61
|
-
</ul
|
62
|
-
>
|
51
|
+
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|