I have tried following plugins: http://github.com/jarrett/rbbcode http://github.com/cpjolicoeur/bb-ruby
But they has one bad thing: they can't parse codes with same codes inside, for example: [quote] [quote]I'm juggernaut, bitch![/quote] o rly? [/quote] Ah, rbbcode is able to parse it, but it's very hard to add your own codes. Also it has very bad thing: it converts [b][b][b][/b][/b][/b] to self-closing tag <strong/>, and it looks awful in resulting HTML (all text after the tag looks bold) bb-ruby uses .gsub to parse it, so there is no way to work with recursive codes =\. If you use any plugin/gem, or have written something own, please help me with it =) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

