veger / ruby-bbcode

Convert BBCode to HTML and check whether the BBCode is valid
http://rubygems.org/gems/ruby-bbcode
MIT License
28 stars 29 forks source link

Multi-tags working, using youtube and vimeo #12

Closed TheNotary closed 11 years ago

TheNotary commented 11 years ago

Hey, I decided to go with vimeo, I guess they're ok, and popular, therefore it's probably the best choice.

There's some junk in there about stack overflow too deep. It turns out that by using recursion we have a finite limit to the depth to which we can stack tags. It's not a big deal at all, but a while back I gave it a lot of attention for some reason. You need to nest over 1000 tags deep in order to produce the error, so its not very realistic to occur in the wild.

veger commented 11 years ago

Thanks for your work on this!