]> git.quilime.com - clmpr.git/commitdiff
HTML Entities
authorGabriel Dunne <gdunne@quilime.com>
Mon, 19 Dec 2011 02:09:48 +0000 (18:09 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Mon, 19 Dec 2011 02:09:48 +0000 (18:09 -0800)
rss.php

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