friendica/friendica — pull request #366 by fermionic (2012-06-28 03:23:22+00:00)
Title: fix logic for nested lists--should be OR, not AND

In the `bbcode()` function, when looking for nested lists, 'AND'ing everything together requires that ALL those list elements exist in order for the loop to even run once. The different lists need to be 'OR'ed together to achieve the desired effect.