summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-24 19:18:32 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-24 19:18:32 -0700
commita6c56d17e04bf3bd164290c352137dc7345c4f01 (patch)
tree7058df210e3138e813b14c02fc060e231a97f18c /lib
parent63f12c48a8dd7c75093587d78a8fd557330d202e (diff)
parent835799ff169387e5b686b2740020dc0e49154bb2 (diff)
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x
Diffstat (limited to 'lib')
-rw-r--r--lib/attachmentlist.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php
index a2446a886..b5513ade7 100644
--- a/lib/attachmentlist.php
+++ b/lib/attachmentlist.php
@@ -249,10 +249,13 @@ class Attachment extends AttachmentListItem
$this->out->elementStart('div', 'entry-title');
$this->out->elementStart('a', $this->linkAttr());
$this->out->element('span', null, $this->linkTitle());
- $this->showRepresentation();
$this->out->elementEnd('a');
$this->out->elementEnd('div');
+ $this->out->elementStart('div', 'entry-content');
+ $this->showRepresentation();
+ $this->out->elementEnd('div');
+
if (!empty($this->oembed->author_name) || !empty($this->oembed->provider)) {
$this->out->elementStart('div', array('id' => 'oembed_info',
'class' => 'entry-content'));