summaryrefslogtreecommitdiff
path: root/pages/index/0.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/index/0.php')
-rw-r--r--pages/index/0.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/index/0.php b/pages/index/0.php
index 79a677d..805b147 100644
--- a/pages/index/0.php
+++ b/pages/index/0.php
@@ -44,7 +44,7 @@
foreach($items as $id => $item) {
$query = "./title";
$nodeList = $xpath->query($query, $item);
- $title = str_replace("&#", "&#", recode_string("UTF8..html" , $nodeList->item(0)->nodeValue));
+ $title = recode_string("UTF8..html" , $nodeList->item(0)->nodeValue);
$query = "./link";
$nodeList = $xpath->query($query, $item);
@@ -52,7 +52,7 @@
$query = "./description";
$nodeList = $xpath->query($query, $item);
- $description = str_replace("&#", "&#", recode_string("UTF8..html" , $nodeList->item(0)->nodeValue));
+ $description = recode_string("UTF8..html" , $nodeList->item(0)->nodeValue);
printf('<h3> %s </h3>\n', $title);
printf('<p> %s </p>\n', $description);