The conversion of Repeated posts to markdown had a problem with a missing linefeed before the quote.
This commit is contained in:
parent
1cacf64724
commit
7c0c56d20b
|
@ -509,9 +509,7 @@ function bb_ShareAttributes($share, $simplehtml) {
|
||||||
$text = $preshare.html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8').' '.$userid_compact.": <br />".$share[3];
|
$text = $preshare.html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8').' '.$userid_compact.": <br />".$share[3];
|
||||||
break;
|
break;
|
||||||
case 3: // Diaspora
|
case 3: // Diaspora
|
||||||
$headline = '<div class="shared_header">';
|
$headline .= '<b>'.html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8').$userid.':</b><br />';
|
||||||
$headline .= '<span><b>'.html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8').$userid.':</b></span>';
|
|
||||||
$headline .= "</div>";
|
|
||||||
|
|
||||||
$text = trim($share[1]);
|
$text = trim($share[1]);
|
||||||
|
|
||||||
|
@ -519,7 +517,7 @@ function bb_ShareAttributes($share, $simplehtml) {
|
||||||
$text .= "<hr />";
|
$text .= "<hr />";
|
||||||
|
|
||||||
if (substr(normalise_link($link), 0, 19) != "http://twitter.com/") {
|
if (substr(normalise_link($link), 0, 19) != "http://twitter.com/") {
|
||||||
$text .= $headline.'<blockquote class="shared_content">'.trim($share[3])."</blockquote><br />";
|
$text .= $headline.'<blockquote>'.trim($share[3])."</blockquote><br />";
|
||||||
|
|
||||||
if ($link != "")
|
if ($link != "")
|
||||||
$text .= '<br /><a href="'.$link.'">[l]</a>';
|
$text .= '<br /><a href="'.$link.'">[l]</a>';
|
||||||
|
|
Loading…
Reference in a new issue