tests/unittest/blanks_in_code.md in maruku-0.3.0 vs tests/unittest/blanks_in_code.md in maruku-0.4.0
- old
+ new
@@ -25,38 +25,32 @@
*** Output of inspect ***
md_el(:document,[
md_par(["This block is composed of three lines:"]),
- md_el(:code,[] , {:raw_code=>"one\n\nthree\n"}),
- md_par(["This block is composed of 5"]),
- md_el(:code,[] , {:raw_code=>"one\n\n\nfour\n\n"}),
- md_par(["This block is composed of 2"]),
- md_el(:code,[] , {:raw_code=>"two"})
-] )
+ md_el(:code,[],{:raw_code=>"one\n\nthree\n"},[]),
+ md_par(["This block is composed of 5"]),
+ md_el(:code,[],{:raw_code=>"one\n\n\nfour\n\n"},[]),
+ md_par(["This block is composed of 2"]),
+ md_el(:code,[],{:raw_code=>"two"},[])
+],{},[])
*** Output of to_html ***
<p>This block is composed of three lines:</p>
-
<pre><code>one
three
</code></pre>
-
<p>This block is composed of 5</p>
-
<pre><code>one
four
</code></pre>
-
<p>This block is composed of 2</p>
-
<pre><code>two</code></pre>
-
*** Output of to_latex ***
This block is composed of three lines:
\begin{verbatim}one
@@ -72,14 +66,20 @@
\end{verbatim}
This block is composed of 2
\begin{verbatim}two\end{verbatim}
+*** Output of to_md ***
+This block is composed of three lines:
+
+This block is composed of 5
+
+This block is composed of 2
+
+
*** Output of to_s ***
This block is composed of three lines:This block is composed of 5This block is composed of 2
-*** Output of to_s ***
-This block is composed of three lines:This block is composed of 5This block is composed of 2
*** EOF ***
OK!
@@ -107,25 +107,25 @@
<pre><code>two
</code></pre>
*** Output of Markdown.pl (parsed) ***
<p>This block is composed of three lines:</p
- ><pre
- ><code>one
+ ><pre
+ ><code>one
three
</code
- ></pre
- ><p>This block is composed of 5</p
- ><pre
- ><code>one
+ ></pre
+ ><p>This block is composed of 5</p
+ ><pre
+ ><code>one
four
</code
- ></pre
- ><p>This block is composed of 2</p
- ><pre
- ><code>two
+ ></pre
+ ><p>This block is composed of 2</p
+ ><pre
+ ><code>two
</code
- ></pre
- >
+ ></pre
+ >
\ No newline at end of file