Permalink
Browse files

Revert "avoid comment with alternate method"

This reverts commit 4f5707d.
  • Loading branch information...
1 parent e615048 commit c3808db848a3a1a0dc0acba4a42bae68d36dfc74 @rjbs rjbs committed Oct 27, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/Pod/Elemental/Transformer/WikiDoc.pm
@@ -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);

0 comments on commit c3808db

Please sign in to comment.