diff options
author | Nick White <git@njw.me.uk> | 2009-09-18 07:54:50 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2009-09-18 07:54:50 +0100 |
commit | c875505066c5d2fe45cdefe97e47a64413dc2afc (patch) | |
tree | 3f3a0b1ebb94fcd77e5587747d48f74f968d0658 /includes/atom.php | |
parent | 4f7f4ac071fb8f98b9ff86395b286d45fcac7fed (diff) | |
download | njw-website-source-c875505066c5d2fe45cdefe97e47a64413dc2afc.tar.bz2 njw-website-source-c875505066c5d2fe45cdefe97e47a64413dc2afc.zip |
Switch atom feed to use full xhtml
Diffstat (limited to 'includes/atom.php')
-rw-r--r-- | includes/atom.php | 2 |
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)) |