Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

avoid comment with alternate method

  • Loading branch information...
commit 4f5707d7f55dac8bafb64c1b7b471e65f53efc7f 1 parent 4286de8
@rjbs rjbs authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/Pod/Elemental/Transformer/WikiDoc.pm
View
4 lib/Pod/Elemental/Transformer/WikiDoc.pm
@@ -28,9 +28,7 @@ sub transform_node {
my $text = $para->children->[0]->content;
my $parser = Pod::WikiDoc->new;
- my $new_pod = $parser->convert($para->as_pod_string);
-
- $new_pod =~ s/^# Generated by Pod::WikiDoc version \S+$//sgm;
+ my $new_pod = $parser->format($para->as_pod_string);
my $new_doc = Pod::Elemental->read_string($new_pod);
Pod::Elemental::Transformer::Pod5->transform_node($new_doc);
Please sign in to comment.
Something went wrong with that request. Please try again.