diff options
-rw-r--r-- | custom/views/atom10/index.tpl.php | 2 | ||||
-rw-r--r-- | custom/views/rss10/index.tpl.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/custom/views/atom10/index.tpl.php b/custom/views/atom10/index.tpl.php index 6e03980..74fda9f 100644 --- a/custom/views/atom10/index.tpl.php +++ b/custom/views/atom10/index.tpl.php @@ -5,7 +5,7 @@ $count = 0; header('Content-Type: application/atom+xml; charset=UTF-8'); echo '<?xml version="1.0" encoding="UTF-8" ?>'; ?><feed xmlns="http://www.w3.org/2005/Atom"> - <title><?php echo $PlanetConfig->getName(); ?></title> + <title><?php echo htmlentities($PlanetConfig->getName()); ?></title> <subtitle></subtitle> <id><?php echo $PlanetConfig->getUrl(); ?></id> <link rel="self" type="text/html" href="<?php echo $PlanetConfig->getUrl(); ?>?type=atom10" /> diff --git a/custom/views/rss10/index.tpl.php b/custom/views/rss10/index.tpl.php index 0141327..c74b65d 100644 --- a/custom/views/rss10/index.tpl.php +++ b/custom/views/rss10/index.tpl.php @@ -14,7 +14,7 @@ echo '<?xml version="1.0" encoding="UTF-8" ?>'; xmlns="http://purl.org/rss/1.0/"> <channel rdf:about="<?php echo $PlanetConfig->getUrl(); ?>"> - <title><?php echo $PlanetConfig->getName(); ?></title> + <title><?php echo htmlentities($PlanetConfig->getName()); ?></title> <description></description> <link><?php echo $PlanetConfig->getUrl(); ?></link> <dc:language></dc:language> |