Skip to content
Browse files

avoid =pod where not needed

  • Loading branch information...
1 parent bbac653 commit 4286de8cb1e0a135fe3f5bda2b1ba593629fd417 @rjbs rjbs committed
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;
}

0 comments on commit 4286de8

Please sign in to comment.
Something went wrong with that request. Please try again.