use XML::RSS; my $rss = new XML::RSS (version => '1.0', encoding => "UTF-8"); $rss->channel(title => "Test", link => "http://example.com", description => "Test script", ); $rss->add_item(title => "Test", link => "http://example.com/2", description => "Some HTML Some text", ); $rss->{output} = '1.0'; print $rss->as_string; #### Test http://example.com Test script Test http://example.com/2 <i>Some HTML</i> Some text #### Test http://example.com Test script Test http://example.com/2 <i>Some HTML</i> Some text #### <i>Some HTML</i> Some text vs <i>Some HTML</i> Some text