summaryrefslogtreecommitdiff
path: root/includes/atom.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/atom.php')
-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))