Sha256: 52f767231d0d4ee5c0f76f93551a93c1af652abb534a12ae54cebd458deb33d9

Contents?: true

Size: 1.67 KB

Versions: 3

Compression:

Stored size: 1.67 KB

Contents

Write a comment abouth the test here.
*** Parameters: ***
{}
*** Markdown input: ***

This is code (4 spaces):

    Code
This is not code
    
    Code

This is code (1 tab):

	Code
This is not code

	Code



*** Output of inspect ***
md_el(:document,[
	md_par(["This is code (4 spaces):"]),
	md_el(:code,[],{:raw_code=>"Code"},[]),
	md_par(["This is not code"]),
	md_el(:code,[],{:raw_code=>"Code"},[]),
	md_par(["This is code (1 tab):"]),
	md_el(:code,[],{:raw_code=>"Code"},[]),
	md_par(["This is not code"]),
	md_el(:code,[],{:raw_code=>"Code"},[])
],{},[])
*** Output of to_html ***
<p>This is code (4 spaces):</p>

<pre><code>Code</code></pre>

<p>This is not code</p>

<pre><code>Code</code></pre>

<p>This is code (1 tab):</p>

<pre><code>Code</code></pre>

<p>This is not code</p>

<pre><code>Code</code></pre>
*** Output of to_latex ***
This is code (4 spaces):

\begin{verbatim}Code\end{verbatim}
This is not code

\begin{verbatim}Code\end{verbatim}
This is code (1 tab):

\begin{verbatim}Code\end{verbatim}
This is not code

\begin{verbatim}Code\end{verbatim}
*** Output of to_md ***
This is code (4 spaces):

This is not code

This is code (1 tab):

This is not code
*** Output of to_s ***
This is code (4 spaces):This is not codeThis is code (1 tab):This is not code
*** EOF ***



	OK!



*** Output of Markdown.pl ***
<p>This is code (4 spaces):</p>

<pre><code>Code
</code></pre>

<p>This is not code</p>

<pre><code>Code
</code></pre>

<p>This is code (1 tab):</p>

<pre><code>Code
</code></pre>

<p>This is not code</p>

<pre><code>Code
</code></pre>

*** Output of Markdown.pl (parsed) ***
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
maruku-0.5.7 tests/unittest/code3.md
maruku-0.5.8 tests/unittest/code3.md
maruku-0.5.9 tests/unittest/code3.md