aboutsummaryrefslogtreecommitdiff
path: root/mod/blog
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-21 20:40:57 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-21 20:40:57 +0000
commit42063543808de7a57026610f267cbd0452ab8799 (patch)
treeb47165a672f7a285364ca8a7235834daf6b85226 /mod/blog
parent91b3803e754c27d0f4ed6459439b8b876fac1788 (diff)
downloadelgg-42063543808de7a57026610f267cbd0452ab8799.tar.gz
elgg-42063543808de7a57026610f267cbd0452ab8799.tar.bz2
Decoding html entities for blog excerpts in edit form.
git-svn-id: http://code.elgg.org/elgg/trunk@5840 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog')
-rw-r--r--mod/blog/views/default/blog/forms/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/views/default/blog/forms/edit.php b/mod/blog/views/default/blog/forms/edit.php
index 2120f04b8..bb900e311 100644
--- a/mod/blog/views/default/blog/forms/edit.php
+++ b/mod/blog/views/default/blog/forms/edit.php
@@ -90,7 +90,7 @@ $excerpt_label = elgg_echo('blog:excerpt');
$excerpt_input = elgg_view('input/text', array(
'internalname' => 'excerpt',
'internalid' => 'blog_excerpt',
- 'value' => $values['excerpt']
+ 'value' => html_entity_decode($values['excerpt'], ENT_COMPAT, 'UTF-8')
));
$body_label = elgg_echo('blog:body');