X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FXML%2FFeed%2FFormat%2FAtom.pm;fp=lib%2FXML%2FFeed%2FFormat%2FAtom.pm;h=53573f54a16fa71d5c69cbb409b34de748f61c59;hb=934ef9a48ccfb161926bd060f323df58e8d0f9d5;hp=7e8feba40f0c411575eeb059704f3802c4284dbf;hpb=b7c406f5741bfbfff25226734d99c28c6f776661;p=catagits%2FXML-Feed.git diff --git a/lib/XML/Feed/Format/Atom.pm b/lib/XML/Feed/Format/Atom.pm index 7e8feba..53573f5 100644 --- a/lib/XML/Feed/Format/Atom.pm +++ b/lib/XML/Feed/Format/Atom.pm @@ -214,14 +214,7 @@ sub content { $orig_body = $_[0]; %param = (Body => $_[0]); } - #if (!exists($param{Body})) - #{ - # $param{Body} = $orig_body; - #} $entry->{entry}->content(XML::Atom::Content->new(%param, Version => 1.0)); - # Assigning again so the type will be normalized. This seems to be - # an XML-Atom do-what-I-don't-meannery. - #$entry->{entry}->content->body($orig_body); $entry->{entry}->content->base($base) if defined $base; } else { my $c = $entry->{entry}->content;