Finding bbcode plugin

I have tried following plugins:

But they has one bad thing: they can’t parse codes with same codes
inside, for example:

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
to self-closing tag , 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 =)