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 ++++--- tpl/blog/index.php | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'tpl') 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) { diff --git a/tpl/blog/index.php b/tpl/blog/index.php index 6d07efa..c04b4c0 100644 --- a/tpl/blog/index.php +++ b/tpl/blog/index.php @@ -58,10 +58,10 @@ $ze[] = "feed-atom"; $zd = implode("-", $ze); echo ''; -- cgit v1.2.3