friendica/friendica — pull request #354 by fermionic (2012-06-24 02:07:18+00:00)
Title: Fix Diaspora list formatting

The `bbcode()` function that converts BB code into HTML converts the `[*]` list elements into `
` elements with no closing `
`. Markdownify is not able to handle these, and it doesn't appear possible to determine where to place a closing `
` using regular expressions--it requires a PECL or PEAR extension to PHP.

So the lists need to be pre-formatted as Diaspora expressions before the text is sent to `bbcode()`, which this pull implements.