mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Directly send UTF8 data instead of entities.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9870 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a0acfb6a3f
commit
a96986744d
1 changed files with 5 additions and 5 deletions
|
@ -282,10 +282,10 @@ function feed_generate_content($content, $uid, $bitfield, $options)
|
|||
|
||||
// Replace some entities with their unicode counterpart
|
||||
$entities = array(
|
||||
' ' => ' ',
|
||||
'•' => '•',
|
||||
'·' => '·',
|
||||
'©' => '©',
|
||||
' ' => "\xC2\xA0",
|
||||
'•' => "\xE2\x80\xA2",
|
||||
'·' => "\xC2\xB7",
|
||||
'©' => "\xC2\xA9",
|
||||
);
|
||||
|
||||
$content = str_replace(array_keys($entities), array_values($entities), $content);
|
||||
|
@ -425,7 +425,7 @@ class phpbb_feed
|
|||
/**
|
||||
* Separator for title elements to separate items (for example forum / topic)
|
||||
*/
|
||||
var $separator = '•';
|
||||
var $separator = "\xE2\x80\xA2"; // •
|
||||
|
||||
/**
|
||||
* Constructor. Set standard keys.
|
||||
|
|
Loading…
Add table
Reference in a new issue