Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 487 Bytes
# $Id$
use strict;
use XML::Atom;
use XML::Atom::Entry;
use XML::Atom::Feed;
use Test::More tests => 2;
my $entry = XML::Atom::Entry->new;
$entry->content('<strong>Bold</strong>');
unlike $entry->as_xml, qr/<default:/, 'Stupid default: namespace has been stripped';
my $feed = XML::Atom::Feed->new;
$entry = XML::Atom::Entry->new;
$entry->content('<strong>Bold</strong>');
$feed->add_entry($entry);
unlike $feed->as_xml, qr/<default:/, 'Stupid default: namespace has been stripped';