]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Ensuring generic text line breaks are replaced by paragraph tags.
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 5 Apr 2010 20:33:47 +0000 (20:33 +0000)
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 5 Apr 2010 20:33:47 +0000 (20:33 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@5626 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/blog/views/default/object/blog.php

index 79938ac0b2dad0104ec16ba366a7c97c796ecf11..0fcd1e6e4fb1c037cf69520249f24bd390f08e51 100644 (file)
@@ -21,7 +21,7 @@ $container = get_entity($blog->container_guid);
 $linked_title = "<a href=\"{$blog->getURL()}\" title=\"" . htmlentities($blog->title) . "\">{$blog->title}</a>";
 $categories = elgg_view('categories/view', $vars);
 $excerpt = $blog->excerpt;
-$body = $blog->description;
+$body = autop($blog->description);
 $owner_icon = elgg_view("profile/icon",array('entity' => $owner, 'size' => 'tiny'));
 $tags = elgg_view('output/tags', array('tags' => $blog->tags));
 $date = friendly_time($blog->publish_date);