cpjolicoeur/bb-ruby — pull request #5 by Kulgar (2012-03-01 17:58:31+00:00)
Title: Solving the [list][*]list item[/list] converting issue

Hi,

So, here is my pull request to solve the issue I found: https://github.com/cpjolicoeur/bb-ruby/issues/4#issuecomment-4110815

I've added a test in the test_bb-ruby.rb file:
assert_equal '

list item 1
list item 2

', '[list][li]list item 1[/li][li]list item 2[/li][/list]'.bbcode_to_html

Which did not pass before the change I did in the bb-ruby.rb file. Other tests still pass.

No big deal, but it would prevent anyone from using the "list" word in unordered list items. ;)
Hope it helps. ;)
Kulgar.