aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2009-07-27 12:18:09 +0000
committerAndreas Fischer <bantu@phpbb.com>2009-07-27 12:18:09 +0000
commita96986744dbe5819b42baacc929c23fc8e57c746 (patch)
tree37acb8a4779fe00cc09bb355da98fa0ab9d43e58 /phpBB/feed.php
parenta0acfb6a3fce9a547d19c28ac99654275152ac98 (diff)
downloadforums-a96986744dbe5819b42baacc929c23fc8e57c746.tar
forums-a96986744dbe5819b42baacc929c23fc8e57c746.tar.gz
forums-a96986744dbe5819b42baacc929c23fc8e57c746.tar.bz2
forums-a96986744dbe5819b42baacc929c23fc8e57c746.tar.xz
forums-a96986744dbe5819b42baacc929c23fc8e57c746.zip
Directly send UTF8 data instead of entities.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9870 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r--phpBB/feed.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php
index a84cc81940..f0e4435956 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -282,10 +282,10 @@ function feed_generate_content($content, $uid, $bitfield, $options)
// Replace some entities with their unicode counterpart
$entities = array(
- '&nbsp;' => '&#160;',
- '&bull;' => '&#8226;',
- '&middot;' => '&#183;',
- '&copy;' => '&#169;',
+ '&nbsp;' => "\xC2\xA0",
+ '&bull;' => "\xE2\x80\xA2",
+ '&middot;' => "\xC2\xB7",
+ '&copy;' => "\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 = '&#x2022;';
+ var $separator = "\xE2\x80\xA2"; // &bull;
/**
* Constructor. Set standard keys.