]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Bookmark/lib/bookmarklistitem.php
Rewriting code for notice representation
[quix0rs-gnu-social.git] / plugins / Bookmark / lib / bookmarklistitem.php
index 3421829a42d0354c1f6cdcee24fde2bf7235bcd2..118800ad99503b935c32684aaf1112b8466b9eda 100644 (file)
@@ -74,7 +74,7 @@ class BookmarkListItem extends NoticeListItemAdapter
 
         $profile = $notice->getProfile();
 
-        $out->elementStart('p', array('class' => 'e-content'));
+        $out->elementStart('div', array('class' => 'e-content'));
 
         // Whether to nofollow
 
@@ -139,6 +139,6 @@ class BookmarkListItem extends NoticeListItemAdapter
                           $nb->description);
         }
 
-        $out->elementEnd('p');
+        $out->elementEnd('div');
     }
 }