Hi
I'm parsing user's input with RedCloth library. But it removes all spaces between elements, rounded by "*" , "_" , also between these elements and normal text.
Example :
./script/console
Loading development environment.
RedCloth.new("a baba *gala* _maga_").to_html
=> "<p>a baba<strong>gala</strong><em>maga</em></p>"
But in irb - everything is ok:
irb(main):003:0> RedCloth.new("a baba *gala* _maga_").to_html => "<p>a baba <strong>gala</strong> <em>maga</em></p>"
Can anyone tell me what is the problem here ? thanks.