Skip to content

Commit

Permalink
Enable expand_entities for XML-LibXML >= 2.0202
Browse files Browse the repository at this point in the history
  • Loading branch information
tzccinct committed Feb 27, 2021
1 parent aca2600 commit 1cec798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/31-external-entities-libxml.t 100644 → 100755
Expand Up @@ -50,7 +50,7 @@ EOX

## custom parser
{
my $libxml = XML::LibXML->new;
my $libxml = XML::LibXML->new(expand_entities => 1);
my $entry = XML::Atom::Entry->new(Stream => \$xml, Parser => $libxml);
is $entry->title, "Guest Author", "got title";
my $content = $entry->content->body;
Expand Down

0 comments on commit 1cec798

Please sign in to comment.