]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/attachmentlist.php
Merge branch 'oembed-provider' into 0.8.x
[quix0rs-gnu-social.git] / lib / attachmentlist.php
index 60f9a27c0a3cab585cc4d0dcbbb3068ee05ddfa4..f6a1b59d03d8521752aa58f9ade72c1ac82d428e 100644 (file)
@@ -82,7 +82,8 @@ class AttachmentList extends Widget
         $atts = new File;
         $att = $atts->getAttachments($this->notice->id);
         if (empty($att)) return 0;
-        $this->out->elementStart('dl', array('id' =>'attachments'));
+        $this->out->elementStart('dl', array('id' =>'attachments',
+                                             'class' => 'entry-content'));
         $this->out->element('dt', null, _('Attachments'));
         $this->out->elementStart('dd');
         $this->out->elementStart('ol', array('class' => 'attachments'));
@@ -250,6 +251,9 @@ class Attachment extends AttachmentListItem
         $this->out->elementStart('a', $this->linkAttr());
         $this->out->element('span', null, $this->linkTitle());
         $this->out->elementEnd('a');
+        $this->out->elementEnd('div');
+
+        $this->out->elementStart('div', 'entry-content');
         $this->showRepresentation();
         $this->out->elementEnd('div');