aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-24 14:18:02 -0700
committerfriendica <info@friendica.com>2014-10-24 14:18:02 -0700
commitce8a891682a7d8ceca71ec762063367744428a53 (patch)
treefadcb35c2e09f8181fed9e84014c3e02b9cc3ed9 /include/items.php
parent322ec2b9dfa659924b80550cb07aa45fca8fd695 (diff)
downloadvolse-hubzilla-ce8a891682a7d8ceca71ec762063367744428a53.tar.gz
volse-hubzilla-ce8a891682a7d8ceca71ec762063367744428a53.tar.bz2
volse-hubzilla-ce8a891682a7d8ceca71ec762063367744428a53.zip
doh - this needs to be markdown, not bbcode
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index 8d46f64c1..41c211953 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2532,8 +2532,8 @@ function store_diaspora_comment_sig($datarray, $channel, $parent_item, $post_id,
logger('wall to wall comment',LOGGER_DEBUG);
// post will come across with the owner's identity. Throw a preamble onto the post to indicate the true author.
$signed_body = "\n\n"
- . '[img]' . $datarray['author']['xchan_photo_m'] . '[/img]'
- . '[url=' . $datarray['author']['xchan_url'] . ']' . $datarray['author']['xchan_name'] . '[/url]' . "\n\n"
+ . '![' . $datarray['author']['xchan_name'] . '](' . $datarray['author']['xchan_photo_m'] . ')'
+ . '[' . $datarray['author']['xchan_name'] . '](' . $datarray['author']['xchan_url'] . ')' . "\n\n"
. $signed_body;
}