mirror of
https://github.com/friendica/friendica
synced 2024-11-14 06:22:54 +00:00
Fix feed display in browser when using emojis
This commit is contained in:
parent
b6623216f0
commit
faff105f86
1 changed files with 3 additions and 2 deletions
|
@ -44,6 +44,7 @@ class Feed extends BaseModule
|
||||||
case 'posts':
|
case 'posts':
|
||||||
case 'comments':
|
case 'comments':
|
||||||
case 'activity':
|
case 'activity':
|
||||||
|
// Correct type names, no change needed
|
||||||
break;
|
break;
|
||||||
case 'replies':
|
case 'replies':
|
||||||
$type = 'comments';
|
$type = 'comments';
|
||||||
|
@ -53,8 +54,8 @@ class Feed extends BaseModule
|
||||||
}
|
}
|
||||||
|
|
||||||
$nickname = $a->argv[1];
|
$nickname = $a->argv[1];
|
||||||
header("Content-type: application/atom+xml");
|
header("Content-type: application/atom+xml; charset=utf-8");
|
||||||
echo OStatus::feed($nickname, $last_update, 10, $type, $nocache, true);
|
echo OStatus::feed($nickname, $last_update, 10, $type, $nocache, true);
|
||||||
killme();
|
exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue