[Catalyst-commits] r12115 - trunk/examples/CatalystAdvent/lib/CatalystAdvent/Controller

apeiron at dev.catalyst.perl.org apeiron at dev.catalyst.perl.org
Tue Dec 1 14:28:03 GMT 2009


Author: apeiron
Date: 2009-12-01 14:28:02 +0000 (Tue, 01 Dec 2009)
New Revision: 12115

Modified:
   trunk/examples/CatalystAdvent/lib/CatalystAdvent/Controller/Calendar.pm
Log:
fix the feed generation with newer XML::Atom::SimpleFeed, courtesy aristotle++

Modified: trunk/examples/CatalystAdvent/lib/CatalystAdvent/Controller/Calendar.pm
===================================================================
--- trunk/examples/CatalystAdvent/lib/CatalystAdvent/Controller/Calendar.pm	2009-12-01 04:19:44 UTC (rev 12114)
+++ trunk/examples/CatalystAdvent/lib/CatalystAdvent/Controller/Calendar.pm	2009-12-01 14:28:02 UTC (rev 12115)
@@ -182,7 +182,7 @@
         
         my $e = $feed->add_entry(
             title    => { type => 'text', content => $parser->title },
-            content  => { type => 'xhtml', content => "<![CDATA[" . $parser->asString . "]]>" },
+            content  => { type => 'html', content => $parser->asString },
             author   => { name => $parser->author||'Catalyst', 
 			  email => ($parser->email||
 				    'catalyst at lists.scsys.co.uk') },




More information about the Catalyst-commits mailing list