From 42063543808de7a57026610f267cbd0452ab8799 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 21 Apr 2010 20:40:57 +0000 Subject: Decoding html entities for blog excerpts in edit form. git-svn-id: http://code.elgg.org/elgg/trunk@5840 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/views/default/blog/forms/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- cgit v1.2.3