Skip to content

Commit

Permalink
Revert "avoid comment with alternate method"
Browse files Browse the repository at this point in the history
This reverts commit 4f5707d.
  • Loading branch information
rjbs committed Oct 27, 2009
1 parent e615048 commit c3808db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Pod/Elemental/Transformer/WikiDoc.pm
Expand Up @@ -79,7 +79,9 @@ sub transform_node {

my $text = $para->children->[0]->content;
my $parser = Pod::WikiDoc->new;
my $new_pod = $parser->format($para->as_pod_string);
my $new_pod = $parser->convert($para->as_pod_string);

$new_pod =~ s/^# Generated by Pod::WikiDoc version \S+$//sgm;

my $new_doc = Pod::Elemental->read_string($new_pod);
Pod::Elemental::Transformer::Pod5->transform_node($new_doc);
Expand Down

0 comments on commit c3808db

Please sign in to comment.