The code you provide generated
"<p>test</p>\n\n<pre><code>Code\n</code></pre>" with Ruby 1.8 and
BlueCloth 1.0.0 installed through RubyGems. As this appears to be the
correct output, check that you are using the latest version of
BlueCloth.
On Mon, 27 Sep 2004 19:49:08 +0900, Brian Schröder
<> wrote:
> Hello Group,
>
> I'm toying around with BlueCloth, and wonder why I get the following
> behaviour:
>
> irb(main):008:0> (BlueCloth.new "test\n\n Code").to_html
> => "<p>test</p>\n\n<p>Code</p>"
>
> I expected
> => "<p>test</p>\n\n<pre>Code</pre>"
> because the MarkDown Documentation states that 4 Spaces or one Tab make
> a block a codeblock.
>
> Any ideas on what I'm doing wrong?
>
> Brian
> --
> Brian Schröder
> http://ruby.brian-schroeder.de/
>
>