Atom support: replaced xhtml namespace prefix with default namespace
authorRobert Bachmann <rbach@rbach.priv.at>
Thu, 30 Aug 2007 18:55:56 +0200
changeset 5270 b962f82cfd61
parent 5269 46c5e1ee8aaa
child 5271 fae670ee6c6d
Atom support: replaced xhtml namespace prefix with default namespace
templates/atom/changelogentry.tmpl
templates/atom/header.tmpl
--- a/templates/atom/changelogentry.tmpl	Thu Aug 30 16:42:17 2007 +0200
+++ b/templates/atom/changelogentry.tmpl	Thu Aug 30 18:55:56 2007 +0200
@@ -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	Thu Aug 30 16:42:17 2007 +0200
+++ b/templates/atom/header.tmpl	Thu Aug 30 18:55:56 2007 +0200
@@ -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