summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2008-11-23 14:37:27 -0500
committerZach Copley <zach@controlyourself.ca>2008-11-23 14:37:27 -0500
commit63a1b9151acba9af41aedc66422775e5e6bc8881 (patch)
treec51e561cbf9157be7d9aea83318618b8e0601d4b
parent7cb0609e7252d47de4e2a6eef2bf7e818e5e4035 (diff)
Send raw UTF-8 chars instead of escaped entities in newnotice.php's ajax response
darcs-hash:20081123193727-7b5ce-0771232a9771e1325f937ccc87e6ba319dd97590.gz
-rw-r--r--actions/newnotice.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 06ee5778c..3c9c499c2 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -220,14 +220,15 @@ class NewnoticeAction extends Action {
'onclick' => 'return doreply("'.$profile->nickname.'", '.$notice->id.');',
'title' => _('reply'),
'class' => 'replybutton'));
- common_raw('&rarr;');
+ common_raw(html_entity_decode('&rarr;', ENT_NOQUOTES, 'utf-8'));
+
common_element_end('a');
if ($user && $notice->profile_id == $user->id) {
$deleteurl = common_local_url('deletenotice', array('notice' => $notice->id));
common_element_start('a', array('class' => 'deletenotice',
'href' => $deleteurl,
'title' => _('delete')));
- common_raw('&times;');
+ common_raw(html_entity_decode('&times;', ENT_NOQUOTES, 'utf-8'));
common_element_end('a');
}
common_element_end('p');