r1037: - Re-add the summary tag
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 14 Aug 2006 22:06:05 +0000 (22:06 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 14 Aug 2006 22:06:05 +0000 (22:06 +0000)
- Add type="html" to the content tag

syndicate.php

index d8679b62ecd5e02f967e1f9305dfac36dbd343a2..61c4facc06df330219345e181d9d8521a722a2e6 100644 (file)
@@ -2,7 +2,7 @@
 /*=====================================================================*\
 || ###################################################################
 || # Bugdar [#]version[#]
-|| # Copyright ¬¨¬©2002-[#]year[#] Blue Static
+|| # Copyright Â¬Â¨Â¬Â®Â¬Â¨Â¬Â©2002-[#]year[#] Blue Static
 || #
 || # This program is free software; you can redistribute it and/or modify
 || # it under the terms of the GNU General Public License as published by
@@ -118,7 +118,8 @@ if (SYND_TYPE == 'atom')
                <author>
                        <name>' . $bug['username'] . '</name>
                </author>
-               <content>' . $bug['storytext'] . '</content>
+               <content type="html">' . $bug['storytext'] . '</content>
+               <summary type="text">' . htmlspecialchars($bug['comment_parsed']) . '</summary>
                <link rel="alternate" href="' . $bugsys->options['trackerurl'] . '/showreport.php?bugid=' . $bug['bugid'] . '"/>
        </entry>';
        }