diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-05 20:33:47 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-05 20:33:47 +0000 |
commit | 5e49434e45d00606ff1a1976849880264236db94 (patch) | |
tree | 8c1c122bc93b9a0a42f69c8e3b63ad546c58f9c7 /mod/blog | |
parent | 2dd5b50e0d6622799b4f15fe1c930db054566529 (diff) | |
download | elgg-5e49434e45d00606ff1a1976849880264236db94.tar.gz elgg-5e49434e45d00606ff1a1976849880264236db94.tar.bz2 |
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
Diffstat (limited to 'mod/blog')
-rw-r--r-- | mod/blog/views/default/object/blog.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 = "<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); |