friendica/friendica — pull request #390 by fermionic (2012-07-13 05:17:45+00:00)
Title: focus preg_replace to prevent it from catching too much

in `diaspora2bb()`, when it searched for YouTube videos, it would catch the beginning of the first `[url]` tag and go through the end of the YouTube video. I've added some functions to extract out the URL tags one by one and do the replacement on just the URL tag string to prevent this.