]> git.mjollnir.org Git - s9y.git/commitdiff
Modified output code for serendipity_plugin_history to put the body into an additiona...
authoryellowled <yellowled>
Mon, 14 Apr 2008 05:07:06 +0000 (05:07 +0000)
committeryellowled <yellowled>
Mon, 14 Apr 2008 05:07:06 +0000 (05:07 +0000)
plugins/serendipity_plugin_history/serendipity_plugin_history.php

index 6b39f53d8bf1c0a83e330203b8f55a02b4af966b..b6b8e3a3dfbf7fa1d73624ac57f74b48d71c1a94 100644 (file)
@@ -190,8 +190,8 @@ class serendipity_plugin_history extends serendipity_plugin
             $t = ($maxlength==0 || strlen($e[$x]['title'])<=$maxlength) ?
                     $e[$x]['title'] :
                     (trim(serendipity_mb('substr', $e[$x]['title'], 0, $maxlength-3)).' [...]');
-            echo '<div class="serendipity_history_info"><span class="serendipity_history_author">' . $author . '</span> <span class="serendipity_history_date">'. $date . "</span> <a href='$url' title='".str_replace("'", '`', htmlspecialchars($e[$x]['title']))."'>". htmlspecialchars($t) . '</a></div>' .
-                 strip_tags($e[$x]['body']) . '<br />';
+            echo '<div class="serendipity_history_info"><span class="serendipity_history_author">' . $author . '</span> <span class="serendipity_history_date">'. $date . "</span> <a href='$url' title='".str_replace("'", '`', htmlspecialchars($e[$x]['title']))."'>". htmlspecialchars($t) . '</a></div>' . '<div class="serendipity_history_body">' .
+                 strip_tags($e[$x]['body']) . '</div>';
         }
         echo (empty($outro)) ? '' : '<div class="serendipity_history_outro">' . $outro . '</div>';
     }