Is this intentional?

r = RedCloth.new("-- --\r\n p(link)")
=> "-- --\r\n p(link)"
irb(main):014:0> r.to_html
=> "<hr />\n p(#link)"

I would expect the output to be:
=> "=> "<hr />\n <p id="#link">"

If it is intentional, then, why would this work?

irb(main):018:0> r = RedCloth.new("-- --\r\n *link*")
=> "-- --\r\n *link*"
irb(main):019:0> r.to_html
=> "<hr />\n <strong>link</strong>"

Tony

_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users

Reply via email to