From 0c29df39fabecdd80edef41f26ffdcb11c4e0e79 Mon Sep 17 00:00:00 2001 From: Nicolas BERNSTEIN Date: Fri, 13 Apr 2012 19:38:41 +0200 Subject: Minor minor changes. Very minor. --- tpl/blog/atom_feed.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tpl/blog/atom_feed.php') diff --git a/tpl/blog/atom_feed.php b/tpl/blog/atom_feed.php index 20dc0ea..a4344ed 100644 --- a/tpl/blog/atom_feed.php +++ b/tpl/blog/atom_feed.php @@ -1,11 +1,12 @@ '."\n"; echo ''."\n"; -echo '' . $blog_title . ''."\n"; +echo '' . htmlspecialchars($blog_title) . ''."\n"; echo '' . $blog_base_url . "blog". "\n"; -echo '' . "\n"; +echo '' . "\n"; function beginning($text, $len = 500) { @@ -18,7 +19,7 @@ function beginning($text, $len = 500) { foreach ($posts as $post) { echo "\n\n"; - echo '' . $post['title'] . "\n"; + echo '' . htmlspecialchars($post['title']) . "\n"; echo '' . @date("c", $post['date_ts']) . "\n"; echo '' . $blog_base_url . "view-blog-" . $post['id'] . "\n"; foreach (explode(', ', $post['tags']) as $tag) { -- cgit v1.2.3