From 6c709551ce49feaa93b68253cb5767ad4cab66c1 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 15 Mar 2018 14:31:50 +0100 Subject: do not always zid share links. add missing < --- include/bbcode.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/bbcode.php b/include/bbcode.php index b33766757..cd1a84d00 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -329,7 +329,7 @@ function bb_ShareAttributes($match) { $headline = '
'; if ($avatar != "") - $headline .= '' . $author . ''; + $headline .= '' . $author . ''; if(strpos($link,'/cards/')) $type = t('card'); @@ -341,8 +341,8 @@ function bb_ShareAttributes($match) { // Bob Smith wrote the following post 2 hours ago $fmt = sprintf( t('%1$s wrote the following %2$s %3$s'), - '' . $author . '', - '' . $type . '', + '' . $author . '', + '' . $type . '', $reldate ); @@ -393,7 +393,7 @@ function bb_ShareAttributesSimple($match) { if ($matches[1] != "") $profile = $matches[1]; - $text = html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8') . ' ' . $author . ': div class="reshared-content">' . $match[2] . '
'; + $text = html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8') . ' ' . $author . ':
' . $match[2] . '
'; return($text); } -- cgit v1.2.3