]> git.quilime.com - clmpr.git/commitdiff
replaced urlencode with htmlentities for rss
authorGabriel Dunne <gdunne@quilime.com>
Sun, 18 Dec 2011 22:08:24 +0000 (14:08 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Sun, 18 Dec 2011 22:08:24 +0000 (14:08 -0800)
rss.php

diff --git a/rss.php b/rss.php
index fbadf1402e8fea56c33caa67602c5d6e2a91f8ed..948dbea21953b26e770840cc5a2717b10bd97520 100644 (file)
--- a/rss.php
+++ b/rss.php
@@ -9,7 +9,7 @@
 
        <?php for($i = 0; $row = $q->fetch(); $i++ ): ?>
        <item>
-           <title><?php echo urlencode($row['title']) ?></title>
+           <title><?php echo htmlentities($row['title']) ?></title>
            <link><?php echo urlencode($row['url']) ?></link>
            <pubDate><?php echo date('r', strtotime($row['date'])); ?></pubDate>