From 47c7fd89ba76732c779cc79648a2c7ab2e914041 Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Thu, 5 Jul 2012 20:39:22 -0600 Subject: [PATCH] my php thinks this is a typo --- include/bb2diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index 75dadb84c8..042177fd96 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -45,7 +45,7 @@ function diaspora2bb($s) { // $s = str_replace('*','*',$s); // protect the recycle symbol from turning into a tag, but without unescaping angles and naked ampersands - $s = str_replace('♲',html_entities_decode('♲',ENT_QUOTES,'UTF-8'),$s); + $s = str_replace('♲',html_entity_decode('♲',ENT_QUOTES,'UTF-8'),$s); // Convert everything that looks like a link to a link $s = preg_replace("/([^\]\=]|^)(https?\:\/\/)([a-zA-Z0-9\:\/\-\?\&\;\.\=\_\~\#\%\$\!\+\,]+)/ism", '$1[url=$2$3]$2$3[/url]',$s); -- 2.39.5