rename diaspora2bb() to markdown_to_bb() to reflect that is has a more generic use

This commit is contained in:
zotlabs
2016-10-16 16:48:33 -07:00
parent 5ea46444e9
commit e46e3027fa
4 changed files with 4 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ function diaspora_mention_callback($matches) {
* @param boolean $use_zrl default false
* @return string
*/
function diaspora2bb($s, $use_zrl = false) {
function markdown_to_bb($s, $use_zrl = false) {
$s = str_replace("
","\r",$s);
$s = str_replace("
\n>","",$s);