Redcloth issue

hi!

require "redcloth"

textile = "* foo
* foo

  <a href='http://www.foo.com'>http://www.foo.com</a>"

puts RedCloth.new(textile).to_html

why is the foo.com link in the last list item when i redcloth
transforms textile?

the problem only appears if there are only whitespaces
before the link..

is this a bug or am i doing something wrong?

thanks!

ciao!
florian

I think this is by design -- you can have multiple lines in a list
item, so long as they are all indented as much as the initial one.

Is your editor inserting spaces on the blank line between the list and the link?

···

--
Lennon
rcoder.net