Send raw UTF-8 chars instead of escaped entities in newnotice.php's ajax response
darcs-hash:20081123193727-7b5ce-0771232a9771e1325f937ccc87e6ba319dd97590.gz
This commit is contained in:
parent
7cb0609e72
commit
63a1b9151a
@ -220,14 +220,15 @@ class NewnoticeAction extends Action {
|
|||||||
'onclick' => 'return doreply("'.$profile->nickname.'", '.$notice->id.');',
|
'onclick' => 'return doreply("'.$profile->nickname.'", '.$notice->id.');',
|
||||||
'title' => _('reply'),
|
'title' => _('reply'),
|
||||||
'class' => 'replybutton'));
|
'class' => 'replybutton'));
|
||||||
common_raw('→');
|
common_raw(html_entity_decode('→', ENT_NOQUOTES, 'utf-8'));
|
||||||
|
|
||||||
common_element_end('a');
|
common_element_end('a');
|
||||||
if ($user && $notice->profile_id == $user->id) {
|
if ($user && $notice->profile_id == $user->id) {
|
||||||
$deleteurl = common_local_url('deletenotice', array('notice' => $notice->id));
|
$deleteurl = common_local_url('deletenotice', array('notice' => $notice->id));
|
||||||
common_element_start('a', array('class' => 'deletenotice',
|
common_element_start('a', array('class' => 'deletenotice',
|
||||||
'href' => $deleteurl,
|
'href' => $deleteurl,
|
||||||
'title' => _('delete')));
|
'title' => _('delete')));
|
||||||
common_raw('×');
|
common_raw(html_entity_decode('×', ENT_NOQUOTES, 'utf-8'));
|
||||||
common_element_end('a');
|
common_element_end('a');
|
||||||
}
|
}
|
||||||
common_element_end('p');
|
common_element_end('p');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user