changeset 5267:b962f82cfd61

Atom support: replaced xhtml namespace prefix with default namespace
author Robert Bachmann <rbach@rbach.priv.at>
date Thu, 30 Aug 2007 18:55:56 +0200
parents 46c5e1ee8aaa
children fae670ee6c6d
files templates/atom/changelogentry.tmpl templates/atom/header.tmpl
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/templates/atom/changelogentry.tmpl
+++ b/templates/atom/changelogentry.tmpl
@@ -9,8 +9,8 @@
   <updated>#date|rfc3339date#</updated>
   <published>#date|rfc3339date#</published>
   <content type="xhtml">
-   <xhtml:div>
-    <xhtml:pre xml:space="preserve">#desc|escape#</xhtml:pre>
-   </xhtml:div>
+   <div xmlns="http://www.w3.org/1999/xhtml">
+    <pre xml:space="preserve">#desc|escape#</pre>
+   </div>
   </content>
  </entry>
--- a/templates/atom/header.tmpl
+++ b/templates/atom/header.tmpl
@@ -1,4 +1,4 @@
 Content-type: application/atom+xml; charset={encoding}
 
 <?xml version="1.0" encoding="{encoding}"?>
-<feed xmlns="http://www.w3.org/2005/Atom" xmlns:xhtml="http://www.w3.org/1999/xhtml">
\ No newline at end of file
+<feed xmlns="http://www.w3.org/2005/Atom">
\ No newline at end of file