Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

avoid =pod where not needed

  • Loading branch information...
commit 4286de8cb1e0a135fe3f5bda2b1ba593629fd417 1 parent bbac653
@rjbs rjbs authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/Pod/Elemental/Transformer/WikiDoc.pm
View
3  lib/Pod/Elemental/Transformer/WikiDoc.pm
@@ -34,6 +34,9 @@ sub transform_node {
my $new_doc = Pod::Elemental->read_string($new_pod);
Pod::Elemental::Transformer::Pod5->transform_node($new_doc);
+ $new_doc->children->shift
+ while
+ $new_doc->children->[0]->isa('Pod::Elemental::Element::Pod5::Nonpod');
splice @$children, $i, 1, $new_doc->children->flatten;
}
Please sign in to comment.
Something went wrong with that request. Please try again.