From 777f7f072c92bb2db3db393a7607fb68b5e5b56a Mon Sep 17 00:00:00 2001 From: cweiske Date: Tue, 19 Jan 2010 20:32:10 +0000 Subject: Fix bug #2934891: RSS XML was sometimes invalid because special characters did not get escaped. git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@617 b3834d28-1941-0410-a4f8-b48e95affb8f --- data/templates/rss.tpl.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'data/templates') diff --git a/data/templates/rss.tpl.php b/data/templates/rss.tpl.php index 21bdeab..e6e66f7 100644 --- a/data/templates/rss.tpl.php +++ b/data/templates/rss.tpl.php @@ -3,22 +3,22 @@ echo '<' . '?xml version="1.0" encoding="utf-8" ?' . ">\n"; ?> - <?php echo $feedtitle; ?> - - + <?php echo htmlspecialchars($feedtitle); ?> + + 60 - <?php echo $bookmark['title']; ?> - - - + <?php echo htmlspecialchars($bookmark['title']); ?> + + + - + -- cgit v1.2.3