aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/diaspora.php')
-rwxr-xr-xinclude/diaspora.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 2be266e8a..bd3851156 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -2060,12 +2060,12 @@ function diaspora_send_status($item,$owner,$contact,$public_batch = false) {
$images[] = $detail;
$body = str_replace($detail['str'],$mtch[1],$body);
}
- }
+ }
*/
- $body = xmlify(html_entity_decode(bb2diaspora($body)));
-
if(strlen($title))
- $body = xmlify('**' . html_entity_decode($title) . '**' . "\n") . $body;
+ $body = "[b]".html_entity_decode($title)."[/b]\n\n".$body;
+
+ $body = xmlify(html_entity_decode(bb2diaspora($body)));
if($item['attach']) {