summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-09-18 07:54:50 +0100
committerNick White <git@njw.me.uk>2009-09-18 07:54:50 +0100
commitc875505066c5d2fe45cdefe97e47a64413dc2afc (patch)
tree3f3a0b1ebb94fcd77e5587747d48f74f968d0658
parent4f7f4ac071fb8f98b9ff86395b286d45fcac7fed (diff)
downloadnjw-website-source-c875505066c5d2fe45cdefe97e47a64413dc2afc.tar.bz2
njw-website-source-c875505066c5d2fe45cdefe97e47a64413dc2afc.zip
Switch atom feed to use full xhtml
-rw-r--r--includes/atom.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/atom.php b/includes/atom.php
index b9673f4..be8d8f8 100644
--- a/includes/atom.php
+++ b/includes/atom.php
@@ -67,7 +67,7 @@ function create_entry($dir, $file)
if (!empty($summary))
print("\t\t<summary>" . $summary . "</summary>\n");
- print("\t\t<content>" . strip_tags($body) . "</content>\n");
+ print("\t\t<content type=\"xhtml\"><div xmlns=\"http://www.w3.org/1999/xhtml\">" . $body . "</div></content>\n");
$category = ereg_replace("^text", "", $dir); /* dir after text */
if (!empty($category))