forked from GNUsocial/gnu-social
Don't start <p> element until we've checked for attachments
This commit is contained in:
parent
ba3f6b2db9
commit
e64ae1f03d
@ -60,8 +60,6 @@ class BookmarkListItem extends NoticeListItemAdapter
|
|||||||
$notice = $this->nli->notice;
|
$notice = $this->nli->notice;
|
||||||
$out = $this->nli->out;
|
$out = $this->nli->out;
|
||||||
|
|
||||||
$out->elementStart('p', array('class' => 'entry-content'));
|
|
||||||
|
|
||||||
$nb = Bookmark::getByNotice($notice);
|
$nb = Bookmark::getByNotice($notice);
|
||||||
|
|
||||||
$profile = $notice->getProfile();
|
$profile = $notice->getProfile();
|
||||||
@ -85,9 +83,10 @@ class BookmarkListItem extends NoticeListItemAdapter
|
|||||||
|
|
||||||
parent::showContent();
|
parent::showContent();
|
||||||
return;
|
return;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$out->elementStart('p', array('class' => 'entry-content'));
|
||||||
|
|
||||||
$att = $atts[0];
|
$att = $atts[0];
|
||||||
|
|
||||||
$out->elementStart('h3');
|
$out->elementStart('h3');
|
||||||
|
Loading…
Reference in New Issue
Block a user