aboutsummaryrefslogtreecommitdiffstats
path: root/include/bb2diaspora.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-16 16:48:33 -0700
committerzotlabs <mike@macgirvin.com>2016-10-16 16:48:33 -0700
commite46e3027fa90309d5d0051aa82fc0a8e16512935 (patch)
tree723fbccb13d2134b6e79cbc917ef04f272cb7529 /include/bb2diaspora.php
parent5ea46444e95dc332bf2a7510b5e36f639b65e712 (diff)
downloadvolse-hubzilla-e46e3027fa90309d5d0051aa82fc0a8e16512935.tar.gz
volse-hubzilla-e46e3027fa90309d5d0051aa82fc0a8e16512935.tar.bz2
volse-hubzilla-e46e3027fa90309d5d0051aa82fc0a8e16512935.zip
rename diaspora2bb() to markdown_to_bb() to reflect that is has a more generic use
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r--include/bb2diaspora.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index 9bc6eaf9f..14d5b4eef 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -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("&#xD;","\r",$s);
$s = str_replace("&#xD;\n&gt;","",$s);