Bug 576205 - changelog Atom feed is hard to read with long lines wrapped in <pre>, go back to what we'd been using for two years rather than try to force people to use 80 column commit messages
authorPhil Ringnalda <philringnalda@gmail.com>
Wed, 30 Jun 2010 22:45:11 -0700
changeset 359406 7cd4656510c3b154ed61c4bab0dfc430dc2cd878
parent 359405 9a729faf1d6074540677f015cb2ce59308ac11c7
child 359407 084b1570366ccd99310adfe440d350990a52cf87
push id16998
push userrwood@mozilla.com
push dateMon, 02 May 2016 19:42:03 +0000
bugs576205
Bug 576205 - changelog Atom feed is hard to read with long lines wrapped in <pre>, go back to what we'd been using for two years rather than try to force people to use 80 column commit messages
hgtemplates/atom/changelogentry.tmpl
--- a/hgtemplates/atom/changelogentry.tmpl
+++ b/hgtemplates/atom/changelogentry.tmpl
@@ -3,14 +3,10 @@
   <id>{urlbase}{url}#changeset-{node}</id>
   <link href="{urlbase}{url}rev/{node|short}"/>
   <author>
    <name>{author|person|escape}</name>
    <email>{author|email|obfuscate}</email>
   </author>
   <updated>{date|rfc3339date}</updated>
   <published>{date|rfc3339date}</published>
-  <content type="xhtml">
-   <div xmlns="http://www.w3.org/1999/xhtml">
-    <pre xml:space="preserve">{desc|escape|nonempty}</pre>
-   </div>
-  </content>
+  <content type="html">{desc|escape|addbreaks|xmlescape|nonempty}</content>
  </entry>