]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/patchqueue/atom-category-fix.mdwn
add news item for ikiwiki 1.43
[ikiwiki.git] / doc / patchqueue / atom-category-fix.mdwn
index ca4dbcc01afea7a483411d6ebb302a3389f442a6..199f769f88dcce9e8bc9d27285a8b92070ce65cb 100644 (file)
@@ -1,17 +1,15 @@
 The Atom feed fails validation at http://feedvalidator.org/ because the `<category>` tags are syntactically incorrect ([spec](http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.category)). With this patch it validates.
 
 The Atom feed fails validation at http://feedvalidator.org/ because the `<category>` tags are syntactically incorrect ([spec](http://www.atomenabled.org/developers/syndication/atom-format-spec.php#element.category)). With this patch it validates.
 
-<pre>
-Index: templates/atomitem.tmpl
-===================================================================
---- templates/atomitem.tmpl     (revision 2640)
-+++ templates/atomitem.tmpl     (working copy)
-@@ -8,7 +8,7 @@
-        <link href="<TMPL_VAR PERMALINK>"/>
-        <TMPL_IF NAME="CATEGORIES">
-        <TMPL_LOOP NAME="CATEGORIES">
--       <category><TMPL_VAR CATEGORY></category>
-+       <category term="<TMPL_VAR CATEGORY>" />
-        </TMPL_LOOP>
-        </TMPL_IF>
-        <updated><TMPL_VAR DATE_3339></updated>
-</pre>
\ No newline at end of file
+    Index: templates/atomitem.tmpl
+    ===================================================================
+    --- templates/atomitem.tmpl     (revision 2640)
+    +++ templates/atomitem.tmpl     (working copy)
+    @@ -8,7 +8,7 @@
+            <link href="<TMPL_VAR PERMALINK>"/>
+            <TMPL_IF NAME="CATEGORIES">
+            <TMPL_LOOP NAME="CATEGORIES">
+    -       <category><TMPL_VAR CATEGORY></category>
+    +       <category term="<TMPL_VAR CATEGORY>" />
+            </TMPL_LOOP>
+            </TMPL_IF>
+            <updated><TMPL_VAR DATE_3339></updated>
\ No newline at end of file