From 5e49434e45d00606ff1a1976849880264236db94 Mon Sep 17 00:00:00 2001 From: nickw Date: Mon, 5 Apr 2010 20:33:47 +0000 Subject: Ensuring generic text line breaks are replaced by paragraph tags. git-svn-id: http://code.elgg.org/elgg/trunk@5626 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/views/default/object/blog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/blog/views/default/object') diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php index 79938ac0b..0fcd1e6e4 100644 --- a/mod/blog/views/default/object/blog.php +++ b/mod/blog/views/default/object/blog.php @@ -21,7 +21,7 @@ $container = get_entity($blog->container_guid); $linked_title = "getURL()}\" title=\"" . htmlentities($blog->title) . "\">{$blog->title}"; $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); -- cgit v1.2.3